#include"dao_QtXml.h"

#ifdef __cplusplus
extern "C"{
#endif

/*  qdom.h */


static DaoNumItem dao_EncodingPolicy_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_EncodingPolicy_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_EncodingPolicy_Delete( void *self )
{
	free( self );
}

static DaoTypeBase EncodingPolicy_Typer = 
{ "EncodingPolicy", NULL, 
  dao_EncodingPolicy_Nums,
  dao_EncodingPolicy_Meths, 
  { 0 },
  { 0 },
  Dao_EncodingPolicy_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_EncodingPolicy_Typer = & EncodingPolicy_Typer;

/*  qdom.h */


static DaoNumItem dao_InvalidDataPolicy_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_InvalidDataPolicy_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_InvalidDataPolicy_Delete( void *self )
{
	free( self );
}

static DaoTypeBase InvalidDataPolicy_Typer = 
{ "InvalidDataPolicy", NULL, 
  dao_InvalidDataPolicy_Nums,
  dao_InvalidDataPolicy_Meths, 
  { 0 },
  { 0 },
  Dao_InvalidDataPolicy_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_InvalidDataPolicy_Typer = & InvalidDataPolicy_Typer;

/*  qdom.h */


static DaoNumItem dao_NodeType_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_NodeType_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_NodeType_Delete( void *self )
{
	free( self );
}

static DaoTypeBase NodeType_Typer = 
{ "NodeType", NULL, 
  dao_NodeType_Nums,
  dao_NodeType_Meths, 
  { 0 },
  { 0 },
  Dao_NodeType_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_NodeType_Typer = & NodeType_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomNode_Nums[] =
{
  { "ElementNode", DAO_INTEGER, QDomNode::ElementNode },
  { "AttributeNode", DAO_INTEGER, QDomNode::AttributeNode },
  { "TextNode", DAO_INTEGER, QDomNode::TextNode },
  { "CDATASectionNode", DAO_INTEGER, QDomNode::CDATASectionNode },
  { "EntityReferenceNode", DAO_INTEGER, QDomNode::EntityReferenceNode },
  { "EntityNode", DAO_INTEGER, QDomNode::EntityNode },
  { "ProcessingInstructionNode", DAO_INTEGER, QDomNode::ProcessingInstructionNode },
  { "CommentNode", DAO_INTEGER, QDomNode::CommentNode },
  { "DocumentNode", DAO_INTEGER, QDomNode::DocumentNode },
  { "DocumentTypeNode", DAO_INTEGER, QDomNode::DocumentTypeNode },
  { "DocumentFragmentNode", DAO_INTEGER, QDomNode::DocumentFragmentNode },
  { "NotationNode", DAO_INTEGER, QDomNode::NotationNode },
  { "BaseNode", DAO_INTEGER, QDomNode::BaseNode },
  { "CharacterDataNode", DAO_INTEGER, QDomNode::CharacterDataNode },
  { "EncodingFromDocument", DAO_INTEGER, QDomNode::EncodingFromDocument },
  { "EncodingFromTextStream", DAO_INTEGER, QDomNode::EncodingFromTextStream },
  { NULL, 0, 0 }
};
static void dao_QDomNode_QDomNode_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_QDomNode_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_appendChild( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_attributes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_childNodes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_cloneNode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_columnNumber( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_firstChild( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_firstChildElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_hasAttributes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_hasChildNodes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_insertAfter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_insertBefore( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isAttr( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isCDATASection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isCharacterData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isComment( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isDocument( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isDocumentFragment( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isDocumentType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isEntity( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isEntityReference( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isNotation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isNull( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isProcessingInstruction( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isSupported( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_isText( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_lastChild( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_lastChildElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_lineNumber( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_localName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_namedItem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_namespaceURI( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_nextSibling( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_nextSiblingElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_nodeName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_nodeType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_nodeValue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_normalize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_ownerDocument( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_parentNode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_prefix( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_previousSibling( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_previousSiblingElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_removeChild( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_replaceChild( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_save( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_save_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_setNodeValue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_setPrefix( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toAttr( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toCDATASection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toCharacterData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toComment( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toDocument( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toDocumentFragment( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toDocumentType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toEntity( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toEntityReference( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toNotation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toProcessingInstruction( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNode_toText( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomNode_Meths[] = 
{
  { dao_QDomNode_QDomNode_dao_2, "QDomNode(  )=>QDomNode" },
  { dao_QDomNode_QDomNode_dao_3, "QDomNode( _cp0 : QDomNode )=>QDomNode" },
  { dao_QDomNode_appendChild, "appendChild( self : QDomNode, newChild : QDomNode )=>QDomNode" },
  { dao_QDomNode_attributes, "attributes( self : QDomNode )=>QDomNamedNodeMap" },
  { dao_QDomNode_childNodes, "childNodes( self : QDomNode )=>QDomNodeList" },
  { dao_QDomNode_clear, "clear( self : QDomNode )" },
  { dao_QDomNode_cloneNode, "cloneNode( self : QDomNode, deep : int = true )=>QDomNode" },
  { dao_QDomNode_columnNumber, "columnNumber( self : QDomNode )=>int" },
  { dao_QDomNode_firstChild, "firstChild( self : QDomNode )=>QDomNode" },
  { dao_QDomNode_firstChildElement, "firstChildElement( self : QDomNode, tagName : string|null=null )=>QDomElement" },
  { dao_QDomNode_hasAttributes, "hasAttributes( self : QDomNode )=>int" },
  { dao_QDomNode_hasChildNodes, "hasChildNodes( self : QDomNode )=>int" },
  { dao_QDomNode_insertAfter, "insertAfter( self : QDomNode, newChild : QDomNode, refChild : QDomNode )=>QDomNode" },
  { dao_QDomNode_insertBefore, "insertBefore( self : QDomNode, newChild : QDomNode, refChild : QDomNode )=>QDomNode" },
  { dao_QDomNode_isAttr, "isAttr( self : QDomNode )=>int" },
  { dao_QDomNode_isCDATASection, "isCDATASection( self : QDomNode )=>int" },
  { dao_QDomNode_isCharacterData, "isCharacterData( self : QDomNode )=>int" },
  { dao_QDomNode_isComment, "isComment( self : QDomNode )=>int" },
  { dao_QDomNode_isDocument, "isDocument( self : QDomNode )=>int" },
  { dao_QDomNode_isDocumentFragment, "isDocumentFragment( self : QDomNode )=>int" },
  { dao_QDomNode_isDocumentType, "isDocumentType( self : QDomNode )=>int" },
  { dao_QDomNode_isElement, "isElement( self : QDomNode )=>int" },
  { dao_QDomNode_isEntity, "isEntity( self : QDomNode )=>int" },
  { dao_QDomNode_isEntityReference, "isEntityReference( self : QDomNode )=>int" },
  { dao_QDomNode_isNotation, "isNotation( self : QDomNode )=>int" },
  { dao_QDomNode_isNull, "isNull( self : QDomNode )=>int" },
  { dao_QDomNode_isProcessingInstruction, "isProcessingInstruction( self : QDomNode )=>int" },
  { dao_QDomNode_isSupported, "isSupported( self : QDomNode, feature : string, version : string )=>int" },
  { dao_QDomNode_isText, "isText( self : QDomNode )=>int" },
  { dao_QDomNode_lastChild, "lastChild( self : QDomNode )=>QDomNode" },
  { dao_QDomNode_lastChildElement, "lastChildElement( self : QDomNode, tagName : string|null=null )=>QDomElement" },
  { dao_QDomNode_lineNumber, "lineNumber( self : QDomNode )=>int" },
  { dao_QDomNode_localName, "localName( self : QDomNode )=>string" },
  { dao_QDomNode_namedItem, "namedItem( self : QDomNode, name : string )=>QDomNode" },
  { dao_QDomNode_namespaceURI, "namespaceURI( self : QDomNode )=>string" },
  { dao_QDomNode_nextSibling, "nextSibling( self : QDomNode )=>QDomNode" },
  { dao_QDomNode_nextSiblingElement, "nextSiblingElement( self : QDomNode, taName : string|null=null )=>QDomElement" },
  { dao_QDomNode_nodeName, "nodeName( self : QDomNode )=>string" },
  { dao_QDomNode_nodeType, "nodeType( self : QDomNode )=>int" },
  { dao_QDomNode_nodeValue, "nodeValue( self : QDomNode )=>string" },
  { dao_QDomNode_normalize, "normalize( self : QDomNode )" },
  { dao_QDomNode_ownerDocument, "ownerDocument( self : QDomNode )=>QDomDocument" },
  { dao_QDomNode_parentNode, "parentNode( self : QDomNode )=>QDomNode" },
  { dao_QDomNode_prefix, "prefix( self : QDomNode )=>string" },
  { dao_QDomNode_previousSibling, "previousSibling( self : QDomNode )=>QDomNode" },
  { dao_QDomNode_previousSiblingElement, "previousSiblingElement( self : QDomNode, tagName : string|null=null )=>QDomElement" },
  { dao_QDomNode_removeChild, "removeChild( self : QDomNode, oldChild : QDomNode )=>QDomNode" },
  { dao_QDomNode_replaceChild, "replaceChild( self : QDomNode, newChild : QDomNode, oldChild : QDomNode )=>QDomNode" },
  { dao_QDomNode_save, "save( self : QDomNode, _cp0 : QTextStream, _cp1 : int )" },
  { dao_QDomNode_save_dao_2, "save( self : QDomNode, _cp0 : QTextStream, _cp1 : int, _cp2 : int )" },
  { dao_QDomNode_setNodeValue, "setNodeValue( self : QDomNode, _cp0 : string )" },
  { dao_QDomNode_setPrefix, "setPrefix( self : QDomNode, pre : string )" },
  { dao_QDomNode_toAttr, "toAttr( self : QDomNode )=>QDomAttr" },
  { dao_QDomNode_toCDATASection, "toCDATASection( self : QDomNode )=>QDomCDATASection" },
  { dao_QDomNode_toCharacterData, "toCharacterData( self : QDomNode )=>QDomCharacterData" },
  { dao_QDomNode_toComment, "toComment( self : QDomNode )=>QDomComment" },
  { dao_QDomNode_toDocument, "toDocument( self : QDomNode )=>QDomDocument" },
  { dao_QDomNode_toDocumentFragment, "toDocumentFragment( self : QDomNode )=>QDomDocumentFragment" },
  { dao_QDomNode_toDocumentType, "toDocumentType( self : QDomNode )=>QDomDocumentType" },
  { dao_QDomNode_toElement, "toElement( self : QDomNode )=>QDomElement" },
  { dao_QDomNode_toEntity, "toEntity( self : QDomNode )=>QDomEntity" },
  { dao_QDomNode_toEntityReference, "toEntityReference( self : QDomNode )=>QDomEntityReference" },
  { dao_QDomNode_toNotation, "toNotation( self : QDomNode )=>QDomNotation" },
  { dao_QDomNode_toProcessingInstruction, "toProcessingInstruction( self : QDomNode )=>QDomProcessingInstruction" },
  { dao_QDomNode_toText, "toText( self : QDomNode )=>QDomText" },
  { NULL, NULL }
};
static void Dao_QDomNode_Delete( void *self )
{
	delete (QDomNode*) self;
}

static DaoTypeBase QDomNode_Typer = 
{ "QDomNode", NULL, 
  dao_QDomNode_Nums,
  dao_QDomNode_Meths, 
  { 0 },
  { 0 },
  Dao_QDomNode_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomNode_Typer = & QDomNode_Typer;
/* qdom.h */
static void dao_QDomNode_QDomNode_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomNode *_self = Dao_QDomNode_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_QDomNode_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* _cp0= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
	QDomNode *_self = Dao_QDomNode_New( *_cp0 );
	DaoContext_PutCData( _ctx, _self, dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_appendChild( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNode* newChild= (QDomNode*) DValue_CastCData( _p[1], dao_QDomNode_Typer );
  QDomNode _appendChild = self->QDomNode::appendChild( *newChild );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _appendChild ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_attributes( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNamedNodeMap _attributes = self->QDomNode::attributes(  );
  DaoContext_PutCData( _ctx, (void*)new QDomNamedNodeMap( _attributes ), dao_QDomNamedNodeMap_Typer );
}
/* qdom.h */
static void dao_QDomNode_childNodes( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNodeList _childNodes = self->QDomNode::childNodes(  );
  DaoContext_PutCData( _ctx, (void*)new QDomNodeList( _childNodes ), dao_QDomNodeList_Typer );
}
/* qdom.h */
static void dao_QDomNode_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  self->QDomNode::clear(  );
}
/* qdom.h */
static void dao_QDomNode_cloneNode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool deep= (bool) _p[1]->v.i;
  QDomNode _cloneNode = self->QDomNode::cloneNode( deep );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _cloneNode ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_columnNumber( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  int _columnNumber = self->QDomNode::columnNumber(  );
  DaoContext_PutInteger( _ctx, (int) _columnNumber );
}
/* qdom.h */
static void dao_QDomNode_firstChild( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNode _firstChild = self->QDomNode::firstChild(  );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _firstChild ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_firstChildElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString tagName( _mbs1 );
  QDomElement _firstChildElement;
  if(_n<=1) _firstChildElement = self->QDomNode::firstChildElement(  );
  else _firstChildElement = self->QDomNode::firstChildElement( tagName );
  DaoContext_PutCData( _ctx, (void*)new QDomElement( _firstChildElement ), dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomNode_hasAttributes( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _hasAttributes = self->QDomNode::hasAttributes(  );
  DaoContext_PutInteger( _ctx, (int) _hasAttributes );
}
/* qdom.h */
static void dao_QDomNode_hasChildNodes( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _hasChildNodes = self->QDomNode::hasChildNodes(  );
  DaoContext_PutInteger( _ctx, (int) _hasChildNodes );
}
/* qdom.h */
static void dao_QDomNode_insertAfter( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNode* newChild= (QDomNode*) DValue_CastCData( _p[1], dao_QDomNode_Typer );
  QDomNode* refChild= (QDomNode*) DValue_CastCData( _p[2], dao_QDomNode_Typer );
  QDomNode _insertAfter = self->QDomNode::insertAfter( *newChild, *refChild );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _insertAfter ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_insertBefore( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNode* newChild= (QDomNode*) DValue_CastCData( _p[1], dao_QDomNode_Typer );
  QDomNode* refChild= (QDomNode*) DValue_CastCData( _p[2], dao_QDomNode_Typer );
  QDomNode _insertBefore = self->QDomNode::insertBefore( *newChild, *refChild );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _insertBefore ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_isAttr( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isAttr = self->QDomNode::isAttr(  );
  DaoContext_PutInteger( _ctx, (int) _isAttr );
}
/* qdom.h */
static void dao_QDomNode_isCDATASection( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isCDATASection = self->QDomNode::isCDATASection(  );
  DaoContext_PutInteger( _ctx, (int) _isCDATASection );
}
/* qdom.h */
static void dao_QDomNode_isCharacterData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isCharacterData = self->QDomNode::isCharacterData(  );
  DaoContext_PutInteger( _ctx, (int) _isCharacterData );
}
/* qdom.h */
static void dao_QDomNode_isComment( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isComment = self->QDomNode::isComment(  );
  DaoContext_PutInteger( _ctx, (int) _isComment );
}
/* qdom.h */
static void dao_QDomNode_isDocument( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isDocument = self->QDomNode::isDocument(  );
  DaoContext_PutInteger( _ctx, (int) _isDocument );
}
/* qdom.h */
static void dao_QDomNode_isDocumentFragment( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isDocumentFragment = self->QDomNode::isDocumentFragment(  );
  DaoContext_PutInteger( _ctx, (int) _isDocumentFragment );
}
/* qdom.h */
static void dao_QDomNode_isDocumentType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isDocumentType = self->QDomNode::isDocumentType(  );
  DaoContext_PutInteger( _ctx, (int) _isDocumentType );
}
/* qdom.h */
static void dao_QDomNode_isElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isElement = self->QDomNode::isElement(  );
  DaoContext_PutInteger( _ctx, (int) _isElement );
}
/* qdom.h */
static void dao_QDomNode_isEntity( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isEntity = self->QDomNode::isEntity(  );
  DaoContext_PutInteger( _ctx, (int) _isEntity );
}
/* qdom.h */
static void dao_QDomNode_isEntityReference( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isEntityReference = self->QDomNode::isEntityReference(  );
  DaoContext_PutInteger( _ctx, (int) _isEntityReference );
}
/* qdom.h */
static void dao_QDomNode_isNotation( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isNotation = self->QDomNode::isNotation(  );
  DaoContext_PutInteger( _ctx, (int) _isNotation );
}
/* qdom.h */
static void dao_QDomNode_isNull( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isNull = self->QDomNode::isNull(  );
  DaoContext_PutInteger( _ctx, (int) _isNull );
}
/* qdom.h */
static void dao_QDomNode_isProcessingInstruction( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isProcessingInstruction = self->QDomNode::isProcessingInstruction(  );
  DaoContext_PutInteger( _ctx, (int) _isProcessingInstruction );
}
/* qdom.h */
static void dao_QDomNode_isSupported( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString feature( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString version( _mbs2 );
  bool _isSupported = self->QDomNode::isSupported( feature, version );
  DaoContext_PutInteger( _ctx, (int) _isSupported );
}
/* qdom.h */
static void dao_QDomNode_isText( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  bool _isText = self->QDomNode::isText(  );
  DaoContext_PutInteger( _ctx, (int) _isText );
}
/* qdom.h */
static void dao_QDomNode_lastChild( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNode _lastChild = self->QDomNode::lastChild(  );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _lastChild ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_lastChildElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString tagName( _mbs1 );
  QDomElement _lastChildElement;
  if(_n<=1) _lastChildElement = self->QDomNode::lastChildElement(  );
  else _lastChildElement = self->QDomNode::lastChildElement( tagName );
  DaoContext_PutCData( _ctx, (void*)new QDomElement( _lastChildElement ), dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomNode_lineNumber( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  int _lineNumber = self->QDomNode::lineNumber(  );
  DaoContext_PutInteger( _ctx, (int) _lineNumber );
}
/* qdom.h */
static void dao_QDomNode_localName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QString _localName = self->QDomNode::localName(  );
  DaoContext_PutMBString( _ctx, _localName.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomNode_namedItem( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  QDomNode _namedItem = self->QDomNode::namedItem( name );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _namedItem ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_namespaceURI( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QString _namespaceURI = self->QDomNode::namespaceURI(  );
  DaoContext_PutMBString( _ctx, _namespaceURI.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomNode_nextSibling( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNode _nextSibling = self->QDomNode::nextSibling(  );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _nextSibling ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_nextSiblingElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString taName( _mbs1 );
  QDomElement _nextSiblingElement;
  if(_n<=1) _nextSiblingElement = self->QDomNode::nextSiblingElement(  );
  else _nextSiblingElement = self->QDomNode::nextSiblingElement( taName );
  DaoContext_PutCData( _ctx, (void*)new QDomElement( _nextSiblingElement ), dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomNode_nodeName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QString _nodeName = self->QDomNode::nodeName(  );
  DaoContext_PutMBString( _ctx, _nodeName.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomNode_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNode::NodeType _nodeType = self->QDomNode::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}
/* qdom.h */
static void dao_QDomNode_nodeValue( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QString _nodeValue = self->QDomNode::nodeValue(  );
  DaoContext_PutMBString( _ctx, _nodeValue.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomNode_normalize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  self->QDomNode::normalize(  );
}
/* qdom.h */
static void dao_QDomNode_ownerDocument( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomDocument _ownerDocument = self->QDomNode::ownerDocument(  );
  DaoContext_PutCData( _ctx, (void*)new QDomDocument( _ownerDocument ), dao_QDomDocument_Typer );
}
/* qdom.h */
static void dao_QDomNode_parentNode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNode _parentNode = self->QDomNode::parentNode(  );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _parentNode ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_prefix( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QString _prefix = self->QDomNode::prefix(  );
  DaoContext_PutMBString( _ctx, _prefix.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomNode_previousSibling( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNode _previousSibling = self->QDomNode::previousSibling(  );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _previousSibling ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_previousSiblingElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString tagName( _mbs1 );
  QDomElement _previousSiblingElement;
  if(_n<=1) _previousSiblingElement = self->QDomNode::previousSiblingElement(  );
  else _previousSiblingElement = self->QDomNode::previousSiblingElement( tagName );
  DaoContext_PutCData( _ctx, (void*)new QDomElement( _previousSiblingElement ), dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomNode_removeChild( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNode* oldChild= (QDomNode*) DValue_CastCData( _p[1], dao_QDomNode_Typer );
  QDomNode _removeChild = self->QDomNode::removeChild( *oldChild );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _removeChild ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_replaceChild( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNode* newChild= (QDomNode*) DValue_CastCData( _p[1], dao_QDomNode_Typer );
  QDomNode* oldChild= (QDomNode*) DValue_CastCData( _p[2], dao_QDomNode_Typer );
  QDomNode _replaceChild = self->QDomNode::replaceChild( *newChild, *oldChild );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _replaceChild ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNode_save( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QTextStream* _cp0= (QTextStream*) DValue_CastCData( _p[1], dao_QTextStream_Typer );
  int _cp1= (int) _p[2]->v.i;
  self->QDomNode::save( *_cp0, _cp1 );
}
/* qdom.h */
static void dao_QDomNode_save_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QTextStream* _cp0= (QTextStream*) DValue_CastCData( _p[1], dao_QTextStream_Typer );
  int _cp1= (int) _p[2]->v.i;
  QDomNode::EncodingPolicy _cp2= (QDomNode::EncodingPolicy) _p[3]->v.i;
  self->QDomNode::save( *_cp0, _cp1, _cp2 );
}
/* qdom.h */
static void dao_QDomNode_setNodeValue( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString _cp0( _mbs1 );
  self->QDomNode::setNodeValue( _cp0 );
}
/* qdom.h */
static void dao_QDomNode_setPrefix( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString pre( _mbs1 );
  self->QDomNode::setPrefix( pre );
}
/* qdom.h */
static void dao_QDomNode_toAttr( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomAttr _toAttr = self->QDomNode::toAttr(  );
  DaoContext_PutCData( _ctx, (void*)new QDomAttr( _toAttr ), dao_QDomAttr_Typer );
}
/* qdom.h */
static void dao_QDomNode_toCDATASection( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomCDATASection _toCDATASection = self->QDomNode::toCDATASection(  );
  DaoContext_PutCData( _ctx, (void*)new QDomCDATASection( _toCDATASection ), dao_QDomCDATASection_Typer );
}
/* qdom.h */
static void dao_QDomNode_toCharacterData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomCharacterData _toCharacterData = self->QDomNode::toCharacterData(  );
  DaoContext_PutCData( _ctx, (void*)new QDomCharacterData( _toCharacterData ), dao_QDomCharacterData_Typer );
}
/* qdom.h */
static void dao_QDomNode_toComment( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomComment _toComment = self->QDomNode::toComment(  );
  DaoContext_PutCData( _ctx, (void*)new QDomComment( _toComment ), dao_QDomComment_Typer );
}
/* qdom.h */
static void dao_QDomNode_toDocument( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomDocument _toDocument = self->QDomNode::toDocument(  );
  DaoContext_PutCData( _ctx, (void*)new QDomDocument( _toDocument ), dao_QDomDocument_Typer );
}
/* qdom.h */
static void dao_QDomNode_toDocumentFragment( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomDocumentFragment _toDocumentFragment = self->QDomNode::toDocumentFragment(  );
  DaoContext_PutCData( _ctx, (void*)new QDomDocumentFragment( _toDocumentFragment ), dao_QDomDocumentFragment_Typer );
}
/* qdom.h */
static void dao_QDomNode_toDocumentType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomDocumentType _toDocumentType = self->QDomNode::toDocumentType(  );
  DaoContext_PutCData( _ctx, (void*)new QDomDocumentType( _toDocumentType ), dao_QDomDocumentType_Typer );
}
/* qdom.h */
static void dao_QDomNode_toElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomElement _toElement = self->QDomNode::toElement(  );
  DaoContext_PutCData( _ctx, (void*)new QDomElement( _toElement ), dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomNode_toEntity( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomEntity _toEntity = self->QDomNode::toEntity(  );
  DaoContext_PutCData( _ctx, (void*)new QDomEntity( _toEntity ), dao_QDomEntity_Typer );
}
/* qdom.h */
static void dao_QDomNode_toEntityReference( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomEntityReference _toEntityReference = self->QDomNode::toEntityReference(  );
  DaoContext_PutCData( _ctx, (void*)new QDomEntityReference( _toEntityReference ), dao_QDomEntityReference_Typer );
}
/* qdom.h */
static void dao_QDomNode_toNotation( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomNotation _toNotation = self->QDomNode::toNotation(  );
  DaoContext_PutCData( _ctx, (void*)new QDomNotation( _toNotation ), dao_QDomNotation_Typer );
}
/* qdom.h */
static void dao_QDomNode_toProcessingInstruction( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomProcessingInstruction _toProcessingInstruction = self->QDomNode::toProcessingInstruction(  );
  DaoContext_PutCData( _ctx, (void*)new QDomProcessingInstruction( _toProcessingInstruction ), dao_QDomProcessingInstruction_Typer );
}
/* qdom.h */
static void dao_QDomNode_toText( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNode* self= (QDomNode*) DValue_CastCData( _p[0], dao_QDomNode_Typer );
  QDomText _toText = self->QDomNode::toText(  );
  DaoContext_PutCData( _ctx, (void*)new QDomText( _toText ), dao_QDomText_Typer );
}

/*  qdom.h */


static DaoNumItem dao_QDomAttr_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomAttr_QDomAttr( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomAttr_QDomAttr_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomAttr_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomAttr_nodeType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomAttr_ownerElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomAttr_setValue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomAttr_specified( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomAttr_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomAttr_Meths[] = 
{
  { dao_QDomAttr_QDomAttr, "QDomAttr(  )=>QDomAttr" },
  { dao_QDomAttr_QDomAttr_dao_2, "QDomAttr( x : QDomAttr )=>QDomAttr" },
  { dao_QDomAttr_name, "name( self : QDomAttr )=>string" },
  { dao_QDomAttr_nodeType, "nodeType( self : QDomAttr )=>int" },
  { dao_QDomAttr_ownerElement, "ownerElement( self : QDomAttr )=>QDomElement" },
  { dao_QDomAttr_setValue, "setValue( self : QDomAttr, _cp0 : string )" },
  { dao_QDomAttr_specified, "specified( self : QDomAttr )=>int" },
  { dao_QDomAttr_value, "value( self : QDomAttr )=>string" },
  { NULL, NULL }
};
static void Dao_QDomAttr_Delete( void *self )
{
	delete (QDomAttr*) self;
}
void* dao_cast_QDomAttr_to_QDomNode( void *data )
{
	return (QDomNode*)(QDomAttr*)data;
}

static DaoTypeBase QDomAttr_Typer = 
{ "QDomAttr", NULL, 
  dao_QDomAttr_Nums,
  dao_QDomAttr_Meths, 
  { dao_QDomNode_Typer, 0 },
  { dao_cast_QDomAttr_to_QDomNode,0 },
  Dao_QDomAttr_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomAttr_Typer = & QDomAttr_Typer;
/* qdom.h */
static void dao_QDomAttr_QDomAttr( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomAttr *_self = Dao_QDomAttr_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomAttr_Typer );
}
/* qdom.h */
static void dao_QDomAttr_QDomAttr_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomAttr* x= (QDomAttr*) DValue_CastCData( _p[0], dao_QDomAttr_Typer );
	QDomAttr *_self = Dao_QDomAttr_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomAttr_Typer );
}
/* qdom.h */
static void dao_QDomAttr_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomAttr* self= (QDomAttr*) DValue_CastCData( _p[0], dao_QDomAttr_Typer );
  QString _name = self->QDomAttr::name(  );
  DaoContext_PutMBString( _ctx, _name.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomAttr_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomAttr* self= (QDomAttr*) DValue_CastCData( _p[0], dao_QDomAttr_Typer );
  QDomNode::NodeType _nodeType = self->QDomAttr::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}
/* qdom.h */
static void dao_QDomAttr_ownerElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomAttr* self= (QDomAttr*) DValue_CastCData( _p[0], dao_QDomAttr_Typer );
  QDomElement _ownerElement = self->QDomAttr::ownerElement(  );
  DaoContext_PutCData( _ctx, (void*)new QDomElement( _ownerElement ), dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomAttr_setValue( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomAttr* self= (QDomAttr*) DValue_CastCData( _p[0], dao_QDomAttr_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString _cp0( _mbs1 );
  self->QDomAttr::setValue( _cp0 );
}
/* qdom.h */
static void dao_QDomAttr_specified( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomAttr* self= (QDomAttr*) DValue_CastCData( _p[0], dao_QDomAttr_Typer );
  bool _specified = self->QDomAttr::specified(  );
  DaoContext_PutInteger( _ctx, (int) _specified );
}
/* qdom.h */
static void dao_QDomAttr_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomAttr* self= (QDomAttr*) DValue_CastCData( _p[0], dao_QDomAttr_Typer );
  QString _value = self->QDomAttr::value(  );
  DaoContext_PutMBString( _ctx, _value.toLocal8Bit().data() );
}

/*  qdom.h */


static DaoNumItem dao_QDomAttrPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomAttrPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomAttrPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomAttrPrivate_Typer = 
{ "QDomAttrPrivate", NULL, 
  dao_QDomAttrPrivate_Nums,
  dao_QDomAttrPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomAttrPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomAttrPrivate_Typer = & QDomAttrPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomCharacterData_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomCharacterData_QDomCharacterData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCharacterData_QDomCharacterData_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCharacterData_appendData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCharacterData_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCharacterData_deleteData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCharacterData_insertData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCharacterData_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCharacterData_nodeType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCharacterData_replaceData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCharacterData_setData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCharacterData_substringData( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomCharacterData_Meths[] = 
{
  { dao_QDomCharacterData_QDomCharacterData, "QDomCharacterData(  )=>QDomCharacterData" },
  { dao_QDomCharacterData_QDomCharacterData_dao_2, "QDomCharacterData( x : QDomCharacterData )=>QDomCharacterData" },
  { dao_QDomCharacterData_appendData, "appendData( self : QDomCharacterData, arg : string )" },
  { dao_QDomCharacterData_data, "data( self : QDomCharacterData )=>string" },
  { dao_QDomCharacterData_deleteData, "deleteData( self : QDomCharacterData, offset : int, count : int )" },
  { dao_QDomCharacterData_insertData, "insertData( self : QDomCharacterData, offset : int, arg : string )" },
  { dao_QDomCharacterData_length, "length( self : QDomCharacterData )=>int" },
  { dao_QDomCharacterData_nodeType, "nodeType( self : QDomCharacterData )=>int" },
  { dao_QDomCharacterData_replaceData, "replaceData( self : QDomCharacterData, offset : int, count : int, arg : string )" },
  { dao_QDomCharacterData_setData, "setData( self : QDomCharacterData, _cp0 : string )" },
  { dao_QDomCharacterData_substringData, "substringData( self : QDomCharacterData, offset : int, count : int )=>string" },
  { NULL, NULL }
};
static void Dao_QDomCharacterData_Delete( void *self )
{
	delete (QDomCharacterData*) self;
}
void* dao_cast_QDomCharacterData_to_QDomNode( void *data )
{
	return (QDomNode*)(QDomCharacterData*)data;
}

static DaoTypeBase QDomCharacterData_Typer = 
{ "QDomCharacterData", NULL, 
  dao_QDomCharacterData_Nums,
  dao_QDomCharacterData_Meths, 
  { dao_QDomNode_Typer, 0 },
  { dao_cast_QDomCharacterData_to_QDomNode,0 },
  Dao_QDomCharacterData_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomCharacterData_Typer = & QDomCharacterData_Typer;
/* qdom.h */
static void dao_QDomCharacterData_QDomCharacterData( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomCharacterData *_self = Dao_QDomCharacterData_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomCharacterData_Typer );
}
/* qdom.h */
static void dao_QDomCharacterData_QDomCharacterData_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCharacterData* x= (QDomCharacterData*) DValue_CastCData( _p[0], dao_QDomCharacterData_Typer );
	QDomCharacterData *_self = Dao_QDomCharacterData_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomCharacterData_Typer );
}
/* qdom.h */
static void dao_QDomCharacterData_appendData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCharacterData* self= (QDomCharacterData*) DValue_CastCData( _p[0], dao_QDomCharacterData_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString arg( _mbs1 );
  self->QDomCharacterData::appendData( arg );
}
/* qdom.h */
static void dao_QDomCharacterData_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCharacterData* self= (QDomCharacterData*) DValue_CastCData( _p[0], dao_QDomCharacterData_Typer );
  QString _data = self->QDomCharacterData::data(  );
  DaoContext_PutMBString( _ctx, _data.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomCharacterData_deleteData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCharacterData* self= (QDomCharacterData*) DValue_CastCData( _p[0], dao_QDomCharacterData_Typer );
  unsigned long offset= (unsigned long) _p[1]->v.i;
  unsigned long count= (unsigned long) _p[2]->v.i;
  self->QDomCharacterData::deleteData( offset, count );
}
/* qdom.h */
static void dao_QDomCharacterData_insertData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCharacterData* self= (QDomCharacterData*) DValue_CastCData( _p[0], dao_QDomCharacterData_Typer );
  unsigned long offset= (unsigned long) _p[1]->v.i;
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString arg( _mbs2 );
  self->QDomCharacterData::insertData( offset, arg );
}
/* qdom.h */
static void dao_QDomCharacterData_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCharacterData* self= (QDomCharacterData*) DValue_CastCData( _p[0], dao_QDomCharacterData_Typer );
  uint _length = self->QDomCharacterData::length(  );
  DaoContext_PutInteger( _ctx, (int) _length );
}
/* qdom.h */
static void dao_QDomCharacterData_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCharacterData* self= (QDomCharacterData*) DValue_CastCData( _p[0], dao_QDomCharacterData_Typer );
  QDomNode::NodeType _nodeType = self->QDomCharacterData::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}
/* qdom.h */
static void dao_QDomCharacterData_replaceData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCharacterData* self= (QDomCharacterData*) DValue_CastCData( _p[0], dao_QDomCharacterData_Typer );
  unsigned long offset= (unsigned long) _p[1]->v.i;
  unsigned long count= (unsigned long) _p[2]->v.i;
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString arg( _mbs3 );
  self->QDomCharacterData::replaceData( offset, count, arg );
}
/* qdom.h */
static void dao_QDomCharacterData_setData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCharacterData* self= (QDomCharacterData*) DValue_CastCData( _p[0], dao_QDomCharacterData_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString _cp0( _mbs1 );
  self->QDomCharacterData::setData( _cp0 );
}
/* qdom.h */
static void dao_QDomCharacterData_substringData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCharacterData* self= (QDomCharacterData*) DValue_CastCData( _p[0], dao_QDomCharacterData_Typer );
  unsigned long offset= (unsigned long) _p[1]->v.i;
  unsigned long count= (unsigned long) _p[2]->v.i;
  QString _substringData = self->QDomCharacterData::substringData( offset, count );
  DaoContext_PutMBString( _ctx, _substringData.toLocal8Bit().data() );
}

/*  qdom.h */


static DaoNumItem dao_QDomText_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomText_QDomText( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomText_QDomText_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomText_nodeType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomText_splitText( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomText_Meths[] = 
{
  { dao_QDomText_QDomText, "QDomText(  )=>QDomText" },
  { dao_QDomText_QDomText_dao_2, "QDomText( x : QDomText )=>QDomText" },
  { dao_QDomText_nodeType, "nodeType( self : QDomText )=>int" },
  { dao_QDomText_splitText, "splitText( self : QDomText, offset : int )=>QDomText" },
  { NULL, NULL }
};
static void Dao_QDomText_Delete( void *self )
{
	delete (QDomText*) self;
}
void* dao_cast_QDomText_to_QDomCharacterData( void *data )
{
	return (QDomCharacterData*)(QDomText*)data;
}

static DaoTypeBase QDomText_Typer = 
{ "QDomText", NULL, 
  dao_QDomText_Nums,
  dao_QDomText_Meths, 
  { dao_QDomCharacterData_Typer, 0 },
  { dao_cast_QDomText_to_QDomCharacterData,0 },
  Dao_QDomText_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomText_Typer = & QDomText_Typer;
/* qdom.h */
static void dao_QDomText_QDomText( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomText *_self = Dao_QDomText_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomText_Typer );
}
/* qdom.h */
static void dao_QDomText_QDomText_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomText* x= (QDomText*) DValue_CastCData( _p[0], dao_QDomText_Typer );
	QDomText *_self = Dao_QDomText_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomText_Typer );
}
/* qdom.h */
static void dao_QDomText_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomText* self= (QDomText*) DValue_CastCData( _p[0], dao_QDomText_Typer );
  QDomNode::NodeType _nodeType = self->QDomText::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}
/* qdom.h */
static void dao_QDomText_splitText( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomText* self= (QDomText*) DValue_CastCData( _p[0], dao_QDomText_Typer );
  int offset= (int) _p[1]->v.i;
  QDomText _splitText = self->QDomText::splitText( offset );
  DaoContext_PutCData( _ctx, (void*)new QDomText( _splitText ), dao_QDomText_Typer );
}

/*  qdom.h */


static DaoNumItem dao_QDomCDATASection_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomCDATASection_QDomCDATASection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCDATASection_QDomCDATASection_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomCDATASection_nodeType( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomCDATASection_Meths[] = 
{
  { dao_QDomCDATASection_QDomCDATASection, "QDomCDATASection(  )=>QDomCDATASection" },
  { dao_QDomCDATASection_QDomCDATASection_dao_2, "QDomCDATASection( x : QDomCDATASection )=>QDomCDATASection" },
  { dao_QDomCDATASection_nodeType, "nodeType( self : QDomCDATASection )=>int" },
  { NULL, NULL }
};
static void Dao_QDomCDATASection_Delete( void *self )
{
	delete (QDomCDATASection*) self;
}
void* dao_cast_QDomCDATASection_to_QDomText( void *data )
{
	return (QDomText*)(QDomCDATASection*)data;
}

static DaoTypeBase QDomCDATASection_Typer = 
{ "QDomCDATASection", NULL, 
  dao_QDomCDATASection_Nums,
  dao_QDomCDATASection_Meths, 
  { dao_QDomText_Typer, 0 },
  { dao_cast_QDomCDATASection_to_QDomText,0 },
  Dao_QDomCDATASection_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomCDATASection_Typer = & QDomCDATASection_Typer;
/* qdom.h */
static void dao_QDomCDATASection_QDomCDATASection( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomCDATASection *_self = Dao_QDomCDATASection_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomCDATASection_Typer );
}
/* qdom.h */
static void dao_QDomCDATASection_QDomCDATASection_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCDATASection* x= (QDomCDATASection*) DValue_CastCData( _p[0], dao_QDomCDATASection_Typer );
	QDomCDATASection *_self = Dao_QDomCDATASection_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomCDATASection_Typer );
}
/* qdom.h */
static void dao_QDomCDATASection_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomCDATASection* self= (QDomCDATASection*) DValue_CastCData( _p[0], dao_QDomCDATASection_Typer );
  QDomNode::NodeType _nodeType = self->QDomCDATASection::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}

/*  qdom.h */


static DaoNumItem dao_QDomCDATASectionPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomCDATASectionPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomCDATASectionPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomCDATASectionPrivate_Typer = 
{ "QDomCDATASectionPrivate", NULL, 
  dao_QDomCDATASectionPrivate_Nums,
  dao_QDomCDATASectionPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomCDATASectionPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomCDATASectionPrivate_Typer = & QDomCDATASectionPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomCharacterDataPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomCharacterDataPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomCharacterDataPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomCharacterDataPrivate_Typer = 
{ "QDomCharacterDataPrivate", NULL, 
  dao_QDomCharacterDataPrivate_Nums,
  dao_QDomCharacterDataPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomCharacterDataPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomCharacterDataPrivate_Typer = & QDomCharacterDataPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomComment_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomComment_QDomComment( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomComment_QDomComment_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomComment_nodeType( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomComment_Meths[] = 
{
  { dao_QDomComment_QDomComment, "QDomComment(  )=>QDomComment" },
  { dao_QDomComment_QDomComment_dao_2, "QDomComment( x : QDomComment )=>QDomComment" },
  { dao_QDomComment_nodeType, "nodeType( self : QDomComment )=>int" },
  { NULL, NULL }
};
static void Dao_QDomComment_Delete( void *self )
{
	delete (QDomComment*) self;
}
void* dao_cast_QDomComment_to_QDomCharacterData( void *data )
{
	return (QDomCharacterData*)(QDomComment*)data;
}

static DaoTypeBase QDomComment_Typer = 
{ "QDomComment", NULL, 
  dao_QDomComment_Nums,
  dao_QDomComment_Meths, 
  { dao_QDomCharacterData_Typer, 0 },
  { dao_cast_QDomComment_to_QDomCharacterData,0 },
  Dao_QDomComment_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomComment_Typer = & QDomComment_Typer;
/* qdom.h */
static void dao_QDomComment_QDomComment( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomComment *_self = Dao_QDomComment_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomComment_Typer );
}
/* qdom.h */
static void dao_QDomComment_QDomComment_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomComment* x= (QDomComment*) DValue_CastCData( _p[0], dao_QDomComment_Typer );
	QDomComment *_self = Dao_QDomComment_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomComment_Typer );
}
/* qdom.h */
static void dao_QDomComment_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomComment* self= (QDomComment*) DValue_CastCData( _p[0], dao_QDomComment_Typer );
  QDomNode::NodeType _nodeType = self->QDomComment::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}

/*  qdom.h */


static DaoNumItem dao_QDomCommentPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomCommentPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomCommentPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomCommentPrivate_Typer = 
{ "QDomCommentPrivate", NULL, 
  dao_QDomCommentPrivate_Nums,
  dao_QDomCommentPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomCommentPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomCommentPrivate_Typer = & QDomCommentPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomDocument_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomDocument_QDomDocument( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_QDomDocument_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_QDomDocument_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_QDomDocument_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_createAttribute( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_createAttributeNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_createCDATASection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_createComment( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_createDocumentFragment( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_createElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_createElementNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_createEntityReference( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_createProcessingInstruction( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_createTextNode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_doctype( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_documentElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_elementById( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_elementsByTagName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_elementsByTagNameNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_implementation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_importNode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_nodeType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_setContent_dao_7( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_setContent_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_setContent_dao_8( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_setContent_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_setContent_dao_5( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_setContent( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_setContent_dao_6( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_setContent_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_toByteArray( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocument_toString( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomDocument_Meths[] = 
{
  { dao_QDomDocument_QDomDocument, "QDomDocument(  )=>QDomDocument" },
  { dao_QDomDocument_QDomDocument_dao_4, "QDomDocument( x : QDomDocument )=>QDomDocument" },
  { dao_QDomDocument_QDomDocument_dao_3, "QDomDocument( doctype : QDomDocumentType )=>QDomDocument" },
  { dao_QDomDocument_QDomDocument_dao_2, "QDomDocument( name : string )=>QDomDocument" },
  { dao_QDomDocument_createAttribute, "createAttribute( self : QDomDocument, name : string )=>QDomAttr" },
  { dao_QDomDocument_createAttributeNS, "createAttributeNS( self : QDomDocument, nsURI : string, qName : string )=>QDomAttr" },
  { dao_QDomDocument_createCDATASection, "createCDATASection( self : QDomDocument, data : string )=>QDomCDATASection" },
  { dao_QDomDocument_createComment, "createComment( self : QDomDocument, data : string )=>QDomComment" },
  { dao_QDomDocument_createDocumentFragment, "createDocumentFragment( self : QDomDocument )=>QDomDocumentFragment" },
  { dao_QDomDocument_createElement, "createElement( self : QDomDocument, tagName : string )=>QDomElement" },
  { dao_QDomDocument_createElementNS, "createElementNS( self : QDomDocument, nsURI : string, qName : string )=>QDomElement" },
  { dao_QDomDocument_createEntityReference, "createEntityReference( self : QDomDocument, name : string )=>QDomEntityReference" },
  { dao_QDomDocument_createProcessingInstruction, "createProcessingInstruction( self : QDomDocument, target : string, data : string )=>QDomProcessingInstruction" },
  { dao_QDomDocument_createTextNode, "createTextNode( self : QDomDocument, data : string )=>QDomText" },
  { dao_QDomDocument_doctype, "doctype( self : QDomDocument )=>QDomDocumentType" },
  { dao_QDomDocument_documentElement, "documentElement( self : QDomDocument )=>QDomElement" },
  { dao_QDomDocument_elementById, "elementById( self : QDomDocument, elementId : string )=>QDomElement" },
  { dao_QDomDocument_elementsByTagName, "elementsByTagName( self : QDomDocument, tagname : string )=>QDomNodeList" },
  { dao_QDomDocument_elementsByTagNameNS, "elementsByTagNameNS( self : QDomDocument, nsURI : string, localName : string )=>QDomNodeList" },
  { dao_QDomDocument_implementation, "implementation( self : QDomDocument )=>QDomImplementation" },
  { dao_QDomDocument_importNode, "importNode( self : QDomDocument, importedNode : QDomNode, deep : int )=>QDomNode" },
  { dao_QDomDocument_nodeType, "nodeType( self : QDomDocument )=>int" },
  { dao_QDomDocument_setContent_dao_7, "setContent( self : QDomDocument, dev : QIODevice, errorMsg : QString|null=null, errorLine : int|null=null, errorColumn : int|null=null )=>int" },
  { dao_QDomDocument_setContent_dao_3, "setContent( self : QDomDocument, dev : QIODevice, namespaceProcessing : int, errorMsg : QString|null=null, errorLine : int|null=null, errorColumn : int|null=null )=>int" },
  { dao_QDomDocument_setContent_dao_8, "setContent( self : QDomDocument, source : QXmlInputSource, reader : QXmlReader, errorMsg : QString|null=null, errorLine : int|null=null, errorColumn : int|null=null )=>int" },
  { dao_QDomDocument_setContent_dao_4, "setContent( self : QDomDocument, source : QXmlInputSource, namespaceProcessing : int, errorMsg : QString|null=null, errorLine : int|null=null, errorColumn : int|null=null )=>int" },
  { dao_QDomDocument_setContent_dao_5, "setContent( self : QDomDocument, text : string, errorMsg : QString|null=null, errorLine : int|null=null, errorColumn : int|null=null )=>int" },
  { dao_QDomDocument_setContent, "setContent( self : QDomDocument, text : string, namespaceProcessing : int, errorMsg : QString|null=null, errorLine : int|null=null, errorColumn : int|null=null )=>int" },
  { dao_QDomDocument_setContent_dao_6, "setContent( self : QDomDocument, text : string, errorMsg : QString|null=null, errorLine : int|null=null, errorColumn : int|null=null )=>int" },
  { dao_QDomDocument_setContent_dao_2, "setContent( self : QDomDocument, text : string, namespaceProcessing : int, errorMsg : QString|null=null, errorLine : int|null=null, errorColumn : int|null=null )=>int" },
  { dao_QDomDocument_toByteArray, "toByteArray( self : QDomDocument, _cp0 : int= 1 )=>string" },
  { dao_QDomDocument_toString, "toString( self : QDomDocument, _cp0 : int= 1 )=>string" },
  { NULL, NULL }
};
static void Dao_QDomDocument_Delete( void *self )
{
	delete (QDomDocument*) self;
}
void* dao_cast_QDomDocument_to_QDomNode( void *data )
{
	return (QDomNode*)(QDomDocument*)data;
}

static DaoTypeBase QDomDocument_Typer = 
{ "QDomDocument", NULL, 
  dao_QDomDocument_Nums,
  dao_QDomDocument_Meths, 
  { dao_QDomNode_Typer, 0 },
  { dao_cast_QDomDocument_to_QDomNode,0 },
  Dao_QDomDocument_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomDocument_Typer = & QDomDocument_Typer;
/* qdom.h */
static void dao_QDomDocument_QDomDocument( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomDocument *_self = Dao_QDomDocument_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomDocument_Typer );
}
/* qdom.h */
static void dao_QDomDocument_QDomDocument_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* x= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
	QDomDocument *_self = Dao_QDomDocument_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomDocument_Typer );
}
/* qdom.h */
static void dao_QDomDocument_QDomDocument_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocumentType* doctype= (QDomDocumentType*) DValue_CastCData( _p[0], dao_QDomDocumentType_Typer );
	QDomDocument *_self = Dao_QDomDocument_New( *doctype );
	DaoContext_PutCData( _ctx, _self, dao_QDomDocument_Typer );
}
/* qdom.h */
static void dao_QDomDocument_QDomDocument_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString name( _mbs0 );
	QDomDocument *_self = Dao_QDomDocument_New( name );
	DaoContext_PutCData( _ctx, _self, dao_QDomDocument_Typer );
}
/* qdom.h */
static void dao_QDomDocument_createAttribute( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  QDomAttr _createAttribute = self->QDomDocument::createAttribute( name );
  DaoContext_PutCData( _ctx, (void*)new QDomAttr( _createAttribute ), dao_QDomAttr_Typer );
}
/* qdom.h */
static void dao_QDomDocument_createAttributeNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString qName( _mbs2 );
  QDomAttr _createAttributeNS = self->QDomDocument::createAttributeNS( nsURI, qName );
  DaoContext_PutCData( _ctx, (void*)new QDomAttr( _createAttributeNS ), dao_QDomAttr_Typer );
}
/* qdom.h */
static void dao_QDomDocument_createCDATASection( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString data( _mbs1 );
  QDomCDATASection _createCDATASection = self->QDomDocument::createCDATASection( data );
  DaoContext_PutCData( _ctx, (void*)new QDomCDATASection( _createCDATASection ), dao_QDomCDATASection_Typer );
}
/* qdom.h */
static void dao_QDomDocument_createComment( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString data( _mbs1 );
  QDomComment _createComment = self->QDomDocument::createComment( data );
  DaoContext_PutCData( _ctx, (void*)new QDomComment( _createComment ), dao_QDomComment_Typer );
}
/* qdom.h */
static void dao_QDomDocument_createDocumentFragment( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  QDomDocumentFragment _createDocumentFragment = self->QDomDocument::createDocumentFragment(  );
  DaoContext_PutCData( _ctx, (void*)new QDomDocumentFragment( _createDocumentFragment ), dao_QDomDocumentFragment_Typer );
}
/* qdom.h */
static void dao_QDomDocument_createElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString tagName( _mbs1 );
  QDomElement _createElement = self->QDomDocument::createElement( tagName );
  DaoContext_PutCData( _ctx, (void*)new QDomElement( _createElement ), dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomDocument_createElementNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString qName( _mbs2 );
  QDomElement _createElementNS = self->QDomDocument::createElementNS( nsURI, qName );
  DaoContext_PutCData( _ctx, (void*)new QDomElement( _createElementNS ), dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomDocument_createEntityReference( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  QDomEntityReference _createEntityReference = self->QDomDocument::createEntityReference( name );
  DaoContext_PutCData( _ctx, (void*)new QDomEntityReference( _createEntityReference ), dao_QDomEntityReference_Typer );
}
/* qdom.h */
static void dao_QDomDocument_createProcessingInstruction( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString target( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString data( _mbs2 );
  QDomProcessingInstruction _createProcessingInstruction = self->QDomDocument::createProcessingInstruction( target, data );
  DaoContext_PutCData( _ctx, (void*)new QDomProcessingInstruction( _createProcessingInstruction ), dao_QDomProcessingInstruction_Typer );
}
/* qdom.h */
static void dao_QDomDocument_createTextNode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString data( _mbs1 );
  QDomText _createTextNode = self->QDomDocument::createTextNode( data );
  DaoContext_PutCData( _ctx, (void*)new QDomText( _createTextNode ), dao_QDomText_Typer );
}
/* qdom.h */
static void dao_QDomDocument_doctype( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  QDomDocumentType _doctype = self->QDomDocument::doctype(  );
  DaoContext_PutCData( _ctx, (void*)new QDomDocumentType( _doctype ), dao_QDomDocumentType_Typer );
}
/* qdom.h */
static void dao_QDomDocument_documentElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  QDomElement _documentElement = self->QDomDocument::documentElement(  );
  DaoContext_PutCData( _ctx, (void*)new QDomElement( _documentElement ), dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomDocument_elementById( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString elementId( _mbs1 );
  QDomElement _elementById = self->QDomDocument::elementById( elementId );
  DaoContext_PutCData( _ctx, (void*)new QDomElement( _elementById ), dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomDocument_elementsByTagName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString tagname( _mbs1 );
  QDomNodeList _elementsByTagName = self->QDomDocument::elementsByTagName( tagname );
  DaoContext_PutCData( _ctx, (void*)new QDomNodeList( _elementsByTagName ), dao_QDomNodeList_Typer );
}
/* qdom.h */
static void dao_QDomDocument_elementsByTagNameNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  QDomNodeList _elementsByTagNameNS = self->QDomDocument::elementsByTagNameNS( nsURI, localName );
  DaoContext_PutCData( _ctx, (void*)new QDomNodeList( _elementsByTagNameNS ), dao_QDomNodeList_Typer );
}
/* qdom.h */
static void dao_QDomDocument_implementation( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  QDomImplementation _implementation = self->QDomDocument::implementation(  );
  DaoContext_PutCData( _ctx, (void*)new QDomImplementation( _implementation ), dao_QDomImplementation_Typer );
}
/* qdom.h */
static void dao_QDomDocument_importNode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  QDomNode* importedNode= (QDomNode*) DValue_CastCData( _p[1], dao_QDomNode_Typer );
  bool deep= (bool) _p[2]->v.i;
  QDomNode _importNode = self->QDomDocument::importNode( *importedNode, deep );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _importNode ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomDocument_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  QDomNode::NodeType _nodeType = self->QDomDocument::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}
/* qdom.h */
static void dao_QDomDocument_setContent_dao_7( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  QIODevice* dev= (QIODevice*) DValue_CastCData( _p[1], dao_QIODevice_Typer );
  QString* errorMsg= (QString*) DValue_CastCData( _p[2], dao_QString_Typer );
  int errorLine= (int) _p[3]->v.i;
  int errorColumn= (int) _p[4]->v.i;
  bool _setContent = self->QDomDocument::setContent( dev, errorMsg, & errorLine, & errorColumn );
  _p[3]->v.i = (int) errorLine;
  _p[4]->v.i = (int) errorColumn;
  DaoContext_PutInteger( _ctx, (int) _setContent );
}
/* qdom.h */
static void dao_QDomDocument_setContent_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  QIODevice* dev= (QIODevice*) DValue_CastCData( _p[1], dao_QIODevice_Typer );
  bool namespaceProcessing= (bool) _p[2]->v.i;
  QString* errorMsg= (QString*) DValue_CastCData( _p[3], dao_QString_Typer );
  int errorLine= (int) _p[4]->v.i;
  int errorColumn= (int) _p[5]->v.i;
  bool _setContent = self->QDomDocument::setContent( dev, namespaceProcessing, errorMsg, & errorLine, & errorColumn );
  _p[4]->v.i = (int) errorLine;
  _p[5]->v.i = (int) errorColumn;
  DaoContext_PutInteger( _ctx, (int) _setContent );
}
/* qdom.h */
static void dao_QDomDocument_setContent_dao_8( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  QXmlInputSource* source= (QXmlInputSource*) DValue_CastCData( _p[1], dao_QXmlInputSource_Typer );
  QXmlReader* reader= (QXmlReader*) DValue_CastCData( _p[2], dao_QXmlReader_Typer );
  QString* errorMsg= (QString*) DValue_CastCData( _p[3], dao_QString_Typer );
  int errorLine= (int) _p[4]->v.i;
  int errorColumn= (int) _p[5]->v.i;
  bool _setContent = self->QDomDocument::setContent( source, reader, errorMsg, & errorLine, & errorColumn );
  _p[4]->v.i = (int) errorLine;
  _p[5]->v.i = (int) errorColumn;
  DaoContext_PutInteger( _ctx, (int) _setContent );
}
/* qdom.h */
static void dao_QDomDocument_setContent_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  QXmlInputSource* source= (QXmlInputSource*) DValue_CastCData( _p[1], dao_QXmlInputSource_Typer );
  bool namespaceProcessing= (bool) _p[2]->v.i;
  QString* errorMsg= (QString*) DValue_CastCData( _p[3], dao_QString_Typer );
  int errorLine= (int) _p[4]->v.i;
  int errorColumn= (int) _p[5]->v.i;
  bool _setContent = self->QDomDocument::setContent( source, namespaceProcessing, errorMsg, & errorLine, & errorColumn );
  _p[4]->v.i = (int) errorLine;
  _p[5]->v.i = (int) errorColumn;
  DaoContext_PutInteger( _ctx, (int) _setContent );
}
/* qdom.h */
static void dao_QDomDocument_setContent_dao_5( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray text( _mbs1 );
  QString* errorMsg= (QString*) DValue_CastCData( _p[2], dao_QString_Typer );
  int errorLine= (int) _p[3]->v.i;
  int errorColumn= (int) _p[4]->v.i;
  bool _setContent = self->QDomDocument::setContent( text, errorMsg, & errorLine, & errorColumn );
  _p[3]->v.i = (int) errorLine;
  _p[4]->v.i = (int) errorColumn;
  DaoContext_PutInteger( _ctx, (int) _setContent );
}
/* qdom.h */
static void dao_QDomDocument_setContent( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray text( _mbs1 );
  bool namespaceProcessing= (bool) _p[2]->v.i;
  QString* errorMsg= (QString*) DValue_CastCData( _p[3], dao_QString_Typer );
  int errorLine= (int) _p[4]->v.i;
  int errorColumn= (int) _p[5]->v.i;
  bool _setContent = self->QDomDocument::setContent( text, namespaceProcessing, errorMsg, & errorLine, & errorColumn );
  _p[4]->v.i = (int) errorLine;
  _p[5]->v.i = (int) errorColumn;
  DaoContext_PutInteger( _ctx, (int) _setContent );
}
/* qdom.h */
static void dao_QDomDocument_setContent_dao_6( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString text( _mbs1 );
  QString* errorMsg= (QString*) DValue_CastCData( _p[2], dao_QString_Typer );
  int errorLine= (int) _p[3]->v.i;
  int errorColumn= (int) _p[4]->v.i;
  bool _setContent = self->QDomDocument::setContent( text, errorMsg, & errorLine, & errorColumn );
  _p[3]->v.i = (int) errorLine;
  _p[4]->v.i = (int) errorColumn;
  DaoContext_PutInteger( _ctx, (int) _setContent );
}
/* qdom.h */
static void dao_QDomDocument_setContent_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString text( _mbs1 );
  bool namespaceProcessing= (bool) _p[2]->v.i;
  QString* errorMsg= (QString*) DValue_CastCData( _p[3], dao_QString_Typer );
  int errorLine= (int) _p[4]->v.i;
  int errorColumn= (int) _p[5]->v.i;
  bool _setContent = self->QDomDocument::setContent( text, namespaceProcessing, errorMsg, & errorLine, & errorColumn );
  _p[4]->v.i = (int) errorLine;
  _p[5]->v.i = (int) errorColumn;
  DaoContext_PutInteger( _ctx, (int) _setContent );
}
/* qdom.h */
static void dao_QDomDocument_toByteArray( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  int _cp0= (int) _p[1]->v.i;
  QByteArray _toByteArray = self->QDomDocument::toByteArray( _cp0 );
  DaoContext_PutMBString( _ctx, _toByteArray.data() );
}
/* qdom.h */
static void dao_QDomDocument_toString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocument* self= (QDomDocument*) DValue_CastCData( _p[0], dao_QDomDocument_Typer );
  int _cp0= (int) _p[1]->v.i;
  QString _toString = self->QDomDocument::toString( _cp0 );
  DaoContext_PutMBString( _ctx, _toString.toLocal8Bit().data() );
}

/*  qdom.h */


static DaoNumItem dao_QDomDocumentFragment_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomDocumentFragment_QDomDocumentFragment( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocumentFragment_QDomDocumentFragment_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocumentFragment_nodeType( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomDocumentFragment_Meths[] = 
{
  { dao_QDomDocumentFragment_QDomDocumentFragment, "QDomDocumentFragment(  )=>QDomDocumentFragment" },
  { dao_QDomDocumentFragment_QDomDocumentFragment_dao_2, "QDomDocumentFragment( x : QDomDocumentFragment )=>QDomDocumentFragment" },
  { dao_QDomDocumentFragment_nodeType, "nodeType( self : QDomDocumentFragment )=>int" },
  { NULL, NULL }
};
static void Dao_QDomDocumentFragment_Delete( void *self )
{
	delete (QDomDocumentFragment*) self;
}
void* dao_cast_QDomDocumentFragment_to_QDomNode( void *data )
{
	return (QDomNode*)(QDomDocumentFragment*)data;
}

static DaoTypeBase QDomDocumentFragment_Typer = 
{ "QDomDocumentFragment", NULL, 
  dao_QDomDocumentFragment_Nums,
  dao_QDomDocumentFragment_Meths, 
  { dao_QDomNode_Typer, 0 },
  { dao_cast_QDomDocumentFragment_to_QDomNode,0 },
  Dao_QDomDocumentFragment_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomDocumentFragment_Typer = & QDomDocumentFragment_Typer;
/* qdom.h */
static void dao_QDomDocumentFragment_QDomDocumentFragment( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomDocumentFragment *_self = Dao_QDomDocumentFragment_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomDocumentFragment_Typer );
}
/* qdom.h */
static void dao_QDomDocumentFragment_QDomDocumentFragment_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocumentFragment* x= (QDomDocumentFragment*) DValue_CastCData( _p[0], dao_QDomDocumentFragment_Typer );
	QDomDocumentFragment *_self = Dao_QDomDocumentFragment_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomDocumentFragment_Typer );
}
/* qdom.h */
static void dao_QDomDocumentFragment_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocumentFragment* self= (QDomDocumentFragment*) DValue_CastCData( _p[0], dao_QDomDocumentFragment_Typer );
  QDomNode::NodeType _nodeType = self->QDomDocumentFragment::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}

/*  qdom.h */


static DaoNumItem dao_QDomDocumentFragmentPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomDocumentFragmentPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomDocumentFragmentPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomDocumentFragmentPrivate_Typer = 
{ "QDomDocumentFragmentPrivate", NULL, 
  dao_QDomDocumentFragmentPrivate_Nums,
  dao_QDomDocumentFragmentPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomDocumentFragmentPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomDocumentFragmentPrivate_Typer = & QDomDocumentFragmentPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomDocumentPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomDocumentPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomDocumentPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomDocumentPrivate_Typer = 
{ "QDomDocumentPrivate", NULL, 
  dao_QDomDocumentPrivate_Nums,
  dao_QDomDocumentPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomDocumentPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomDocumentPrivate_Typer = & QDomDocumentPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomDocumentType_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomDocumentType_QDomDocumentType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocumentType_QDomDocumentType_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocumentType_entities( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocumentType_internalSubset( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocumentType_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocumentType_nodeType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocumentType_notations( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocumentType_publicId( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomDocumentType_systemId( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomDocumentType_Meths[] = 
{
  { dao_QDomDocumentType_QDomDocumentType, "QDomDocumentType(  )=>QDomDocumentType" },
  { dao_QDomDocumentType_QDomDocumentType_dao_2, "QDomDocumentType( x : QDomDocumentType )=>QDomDocumentType" },
  { dao_QDomDocumentType_entities, "entities( self : QDomDocumentType )=>QDomNamedNodeMap" },
  { dao_QDomDocumentType_internalSubset, "internalSubset( self : QDomDocumentType )=>string" },
  { dao_QDomDocumentType_name, "name( self : QDomDocumentType )=>string" },
  { dao_QDomDocumentType_nodeType, "nodeType( self : QDomDocumentType )=>int" },
  { dao_QDomDocumentType_notations, "notations( self : QDomDocumentType )=>QDomNamedNodeMap" },
  { dao_QDomDocumentType_publicId, "publicId( self : QDomDocumentType )=>string" },
  { dao_QDomDocumentType_systemId, "systemId( self : QDomDocumentType )=>string" },
  { NULL, NULL }
};
static void Dao_QDomDocumentType_Delete( void *self )
{
	delete (QDomDocumentType*) self;
}
void* dao_cast_QDomDocumentType_to_QDomNode( void *data )
{
	return (QDomNode*)(QDomDocumentType*)data;
}

static DaoTypeBase QDomDocumentType_Typer = 
{ "QDomDocumentType", NULL, 
  dao_QDomDocumentType_Nums,
  dao_QDomDocumentType_Meths, 
  { dao_QDomNode_Typer, 0 },
  { dao_cast_QDomDocumentType_to_QDomNode,0 },
  Dao_QDomDocumentType_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomDocumentType_Typer = & QDomDocumentType_Typer;
/* qdom.h */
static void dao_QDomDocumentType_QDomDocumentType( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomDocumentType *_self = Dao_QDomDocumentType_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomDocumentType_Typer );
}
/* qdom.h */
static void dao_QDomDocumentType_QDomDocumentType_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocumentType* x= (QDomDocumentType*) DValue_CastCData( _p[0], dao_QDomDocumentType_Typer );
	QDomDocumentType *_self = Dao_QDomDocumentType_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomDocumentType_Typer );
}
/* qdom.h */
static void dao_QDomDocumentType_entities( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocumentType* self= (QDomDocumentType*) DValue_CastCData( _p[0], dao_QDomDocumentType_Typer );
  QDomNamedNodeMap _entities = self->QDomDocumentType::entities(  );
  DaoContext_PutCData( _ctx, (void*)new QDomNamedNodeMap( _entities ), dao_QDomNamedNodeMap_Typer );
}
/* qdom.h */
static void dao_QDomDocumentType_internalSubset( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocumentType* self= (QDomDocumentType*) DValue_CastCData( _p[0], dao_QDomDocumentType_Typer );
  QString _internalSubset = self->QDomDocumentType::internalSubset(  );
  DaoContext_PutMBString( _ctx, _internalSubset.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomDocumentType_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocumentType* self= (QDomDocumentType*) DValue_CastCData( _p[0], dao_QDomDocumentType_Typer );
  QString _name = self->QDomDocumentType::name(  );
  DaoContext_PutMBString( _ctx, _name.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomDocumentType_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocumentType* self= (QDomDocumentType*) DValue_CastCData( _p[0], dao_QDomDocumentType_Typer );
  QDomNode::NodeType _nodeType = self->QDomDocumentType::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}
/* qdom.h */
static void dao_QDomDocumentType_notations( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocumentType* self= (QDomDocumentType*) DValue_CastCData( _p[0], dao_QDomDocumentType_Typer );
  QDomNamedNodeMap _notations = self->QDomDocumentType::notations(  );
  DaoContext_PutCData( _ctx, (void*)new QDomNamedNodeMap( _notations ), dao_QDomNamedNodeMap_Typer );
}
/* qdom.h */
static void dao_QDomDocumentType_publicId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocumentType* self= (QDomDocumentType*) DValue_CastCData( _p[0], dao_QDomDocumentType_Typer );
  QString _publicId = self->QDomDocumentType::publicId(  );
  DaoContext_PutMBString( _ctx, _publicId.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomDocumentType_systemId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomDocumentType* self= (QDomDocumentType*) DValue_CastCData( _p[0], dao_QDomDocumentType_Typer );
  QString _systemId = self->QDomDocumentType::systemId(  );
  DaoContext_PutMBString( _ctx, _systemId.toLocal8Bit().data() );
}

/*  qdom.h */


static DaoNumItem dao_QDomDocumentTypePrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomDocumentTypePrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomDocumentTypePrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomDocumentTypePrivate_Typer = 
{ "QDomDocumentTypePrivate", NULL, 
  dao_QDomDocumentTypePrivate_Nums,
  dao_QDomDocumentTypePrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomDocumentTypePrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomDocumentTypePrivate_Typer = & QDomDocumentTypePrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomElement_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomElement_QDomElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_QDomElement_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_attribute( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_attributeNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_attributeNode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_attributeNodeNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_attributes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_elementsByTagName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_elementsByTagNameNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_hasAttribute( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_hasAttributeNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_nodeType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_removeAttribute( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_removeAttributeNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_removeAttributeNode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttribute( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttribute_dao_7( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttribute_dao_6( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttribute_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttribute_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttribute_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttribute_dao_5( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttributeNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttributeNS_dao_6( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttributeNS_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttributeNS_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttributeNS_dao_5( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttributeNS_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttributeNode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setAttributeNodeNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_setTagName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_tagName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomElement_text( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomElement_Meths[] = 
{
  { dao_QDomElement_QDomElement, "QDomElement(  )=>QDomElement" },
  { dao_QDomElement_QDomElement_dao_2, "QDomElement( x : QDomElement )=>QDomElement" },
  { dao_QDomElement_attribute, "attribute( self : QDomElement, name : string, defValue : string|null=null )=>string" },
  { dao_QDomElement_attributeNS, "attributeNS( self : QDomElement, nsURI : string, localName : string, defValue : string|null=null )=>string" },
  { dao_QDomElement_attributeNode, "attributeNode( self : QDomElement, name : string )=>QDomAttr" },
  { dao_QDomElement_attributeNodeNS, "attributeNodeNS( self : QDomElement, nsURI : string, localName : string )=>QDomAttr" },
  { dao_QDomElement_attributes, "attributes( self : QDomElement )=>QDomNamedNodeMap" },
  { dao_QDomElement_elementsByTagName, "elementsByTagName( self : QDomElement, tagname : string )=>QDomNodeList" },
  { dao_QDomElement_elementsByTagNameNS, "elementsByTagNameNS( self : QDomElement, nsURI : string, localName : string )=>QDomNodeList" },
  { dao_QDomElement_hasAttribute, "hasAttribute( self : QDomElement, name : string )=>int" },
  { dao_QDomElement_hasAttributeNS, "hasAttributeNS( self : QDomElement, nsURI : string, localName : string )=>int" },
  { dao_QDomElement_nodeType, "nodeType( self : QDomElement )=>int" },
  { dao_QDomElement_removeAttribute, "removeAttribute( self : QDomElement, name : string )" },
  { dao_QDomElement_removeAttributeNS, "removeAttributeNS( self : QDomElement, nsURI : string, localName : string )" },
  { dao_QDomElement_removeAttributeNode, "removeAttributeNode( self : QDomElement, oldAttr : QDomAttr )=>QDomAttr" },
  { dao_QDomElement_setAttribute, "setAttribute( self : QDomElement, name : string, value : string )" },
  { dao_QDomElement_setAttribute_dao_7, "setAttribute( self : QDomElement, name : string, value : double )" },
  { dao_QDomElement_setAttribute_dao_6, "setAttribute( self : QDomElement, name : string, value : float )" },
  { dao_QDomElement_setAttribute_dao_4, "setAttribute( self : QDomElement, name : string, value : int )" },
  { dao_QDomElement_setAttribute_dao_2, "setAttribute( self : QDomElement, name : string, value : double )" },
  { dao_QDomElement_setAttribute_dao_3, "setAttribute( self : QDomElement, name : string, value : double )" },
  { dao_QDomElement_setAttribute_dao_5, "setAttribute( self : QDomElement, name : string, value : int )" },
  { dao_QDomElement_setAttributeNS, "setAttributeNS( self : QDomElement, nsURI : string, qName : string, value : string )" },
  { dao_QDomElement_setAttributeNS_dao_6, "setAttributeNS( self : QDomElement, nsURI : string, qName : string, value : double )" },
  { dao_QDomElement_setAttributeNS_dao_2, "setAttributeNS( self : QDomElement, nsURI : string, qName : string, value : int )" },
  { dao_QDomElement_setAttributeNS_dao_4, "setAttributeNS( self : QDomElement, nsURI : string, qName : string, value : double )" },
  { dao_QDomElement_setAttributeNS_dao_5, "setAttributeNS( self : QDomElement, nsURI : string, qName : string, value : double )" },
  { dao_QDomElement_setAttributeNS_dao_3, "setAttributeNS( self : QDomElement, nsURI : string, qName : string, value : int )" },
  { dao_QDomElement_setAttributeNode, "setAttributeNode( self : QDomElement, newAttr : QDomAttr )=>QDomAttr" },
  { dao_QDomElement_setAttributeNodeNS, "setAttributeNodeNS( self : QDomElement, newAttr : QDomAttr )=>QDomAttr" },
  { dao_QDomElement_setTagName, "setTagName( self : QDomElement, name : string )" },
  { dao_QDomElement_tagName, "tagName( self : QDomElement )=>string" },
  { dao_QDomElement_text, "text( self : QDomElement )=>string" },
  { NULL, NULL }
};
static void Dao_QDomElement_Delete( void *self )
{
	delete (QDomElement*) self;
}
void* dao_cast_QDomElement_to_QDomNode( void *data )
{
	return (QDomNode*)(QDomElement*)data;
}

static DaoTypeBase QDomElement_Typer = 
{ "QDomElement", NULL, 
  dao_QDomElement_Nums,
  dao_QDomElement_Meths, 
  { dao_QDomNode_Typer, 0 },
  { dao_cast_QDomElement_to_QDomNode,0 },
  Dao_QDomElement_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomElement_Typer = & QDomElement_Typer;
/* qdom.h */
static void dao_QDomElement_QDomElement( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomElement *_self = Dao_QDomElement_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomElement_QDomElement_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* x= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
	QDomElement *_self = Dao_QDomElement_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomElement_Typer );
}
/* qdom.h */
static void dao_QDomElement_attribute( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString defValue( _mbs2 );
  QString _attribute;
  if(_n<=2) _attribute = self->QDomElement::attribute( name );
  else _attribute = self->QDomElement::attribute( name, defValue );
  DaoContext_PutMBString( _ctx, _attribute.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomElement_attributeNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString defValue( _mbs3 );
  QString _attributeNS;
  if(_n<=3) _attributeNS = self->QDomElement::attributeNS( nsURI, localName );
  else _attributeNS = self->QDomElement::attributeNS( nsURI, localName, defValue );
  DaoContext_PutMBString( _ctx, _attributeNS.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomElement_attributeNode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  QDomAttr _attributeNode = self->QDomElement::attributeNode( name );
  DaoContext_PutCData( _ctx, (void*)new QDomAttr( _attributeNode ), dao_QDomAttr_Typer );
}
/* qdom.h */
static void dao_QDomElement_attributeNodeNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  QDomAttr _attributeNodeNS = self->QDomElement::attributeNodeNS( nsURI, localName );
  DaoContext_PutCData( _ctx, (void*)new QDomAttr( _attributeNodeNS ), dao_QDomAttr_Typer );
}
/* qdom.h */
static void dao_QDomElement_attributes( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  QDomNamedNodeMap _attributes = self->QDomElement::attributes(  );
  DaoContext_PutCData( _ctx, (void*)new QDomNamedNodeMap( _attributes ), dao_QDomNamedNodeMap_Typer );
}
/* qdom.h */
static void dao_QDomElement_elementsByTagName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString tagname( _mbs1 );
  QDomNodeList _elementsByTagName = self->QDomElement::elementsByTagName( tagname );
  DaoContext_PutCData( _ctx, (void*)new QDomNodeList( _elementsByTagName ), dao_QDomNodeList_Typer );
}
/* qdom.h */
static void dao_QDomElement_elementsByTagNameNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  QDomNodeList _elementsByTagNameNS = self->QDomElement::elementsByTagNameNS( nsURI, localName );
  DaoContext_PutCData( _ctx, (void*)new QDomNodeList( _elementsByTagNameNS ), dao_QDomNodeList_Typer );
}
/* qdom.h */
static void dao_QDomElement_hasAttribute( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _hasAttribute = self->QDomElement::hasAttribute( name );
  DaoContext_PutInteger( _ctx, (int) _hasAttribute );
}
/* qdom.h */
static void dao_QDomElement_hasAttributeNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  bool _hasAttributeNS = self->QDomElement::hasAttributeNS( nsURI, localName );
  DaoContext_PutInteger( _ctx, (int) _hasAttributeNS );
}
/* qdom.h */
static void dao_QDomElement_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  QDomNode::NodeType _nodeType = self->QDomElement::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}
/* qdom.h */
static void dao_QDomElement_removeAttribute( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  self->QDomElement::removeAttribute( name );
}
/* qdom.h */
static void dao_QDomElement_removeAttributeNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  self->QDomElement::removeAttributeNS( nsURI, localName );
}
/* qdom.h */
static void dao_QDomElement_removeAttributeNode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  QDomAttr* oldAttr= (QDomAttr*) DValue_CastCData( _p[1], dao_QDomAttr_Typer );
  QDomAttr _removeAttributeNode = self->QDomElement::removeAttributeNode( *oldAttr );
  DaoContext_PutCData( _ctx, (void*)new QDomAttr( _removeAttributeNode ), dao_QDomAttr_Typer );
}
/* qdom.h */
static void dao_QDomElement_setAttribute( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString value( _mbs2 );
  self->QDomElement::setAttribute( name, value );
}
/* qdom.h */
static void dao_QDomElement_setAttribute_dao_7( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  double value= (double) _p[2]->v.d;
  self->QDomElement::setAttribute( name, value );
}
/* qdom.h */
static void dao_QDomElement_setAttribute_dao_6( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  float value= (float) _p[2]->v.f;
  self->QDomElement::setAttribute( name, value );
}
/* qdom.h */
static void dao_QDomElement_setAttribute_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  int value= (int) _p[2]->v.i;
  self->QDomElement::setAttribute( name, value );
}
/* qdom.h */
static void dao_QDomElement_setAttribute_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  qlonglong value= (qlonglong) _p[2]->v.d;
  self->QDomElement::setAttribute( name, value );
}
/* qdom.h */
static void dao_QDomElement_setAttribute_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  qulonglong value= (qulonglong) _p[2]->v.d;
  self->QDomElement::setAttribute( name, value );
}
/* qdom.h */
static void dao_QDomElement_setAttribute_dao_5( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  uint value= (uint) _p[2]->v.i;
  self->QDomElement::setAttribute( name, value );
}
/* qdom.h */
static void dao_QDomElement_setAttributeNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString qName( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString value( _mbs3 );
  self->QDomElement::setAttributeNS( nsURI, qName, value );
}
/* qdom.h */
static void dao_QDomElement_setAttributeNS_dao_6( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString qName( _mbs2 );
  double value= (double) _p[3]->v.d;
  self->QDomElement::setAttributeNS( nsURI, qName, value );
}
/* qdom.h */
static void dao_QDomElement_setAttributeNS_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString qName( _mbs2 );
  int value= (int) _p[3]->v.i;
  self->QDomElement::setAttributeNS( nsURI, qName, value );
}
/* qdom.h */
static void dao_QDomElement_setAttributeNS_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString qName( _mbs2 );
  qlonglong value= (qlonglong) _p[3]->v.d;
  self->QDomElement::setAttributeNS( nsURI, qName, value );
}
/* qdom.h */
static void dao_QDomElement_setAttributeNS_dao_5( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString qName( _mbs2 );
  qulonglong value= (qulonglong) _p[3]->v.d;
  self->QDomElement::setAttributeNS( nsURI, qName, value );
}
/* qdom.h */
static void dao_QDomElement_setAttributeNS_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString qName( _mbs2 );
  uint value= (uint) _p[3]->v.i;
  self->QDomElement::setAttributeNS( nsURI, qName, value );
}
/* qdom.h */
static void dao_QDomElement_setAttributeNode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  QDomAttr* newAttr= (QDomAttr*) DValue_CastCData( _p[1], dao_QDomAttr_Typer );
  QDomAttr _setAttributeNode = self->QDomElement::setAttributeNode( *newAttr );
  DaoContext_PutCData( _ctx, (void*)new QDomAttr( _setAttributeNode ), dao_QDomAttr_Typer );
}
/* qdom.h */
static void dao_QDomElement_setAttributeNodeNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  QDomAttr* newAttr= (QDomAttr*) DValue_CastCData( _p[1], dao_QDomAttr_Typer );
  QDomAttr _setAttributeNodeNS = self->QDomElement::setAttributeNodeNS( *newAttr );
  DaoContext_PutCData( _ctx, (void*)new QDomAttr( _setAttributeNodeNS ), dao_QDomAttr_Typer );
}
/* qdom.h */
static void dao_QDomElement_setTagName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  self->QDomElement::setTagName( name );
}
/* qdom.h */
static void dao_QDomElement_tagName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  QString _tagName = self->QDomElement::tagName(  );
  DaoContext_PutMBString( _ctx, _tagName.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomElement_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomElement* self= (QDomElement*) DValue_CastCData( _p[0], dao_QDomElement_Typer );
  QString _text = self->QDomElement::text(  );
  DaoContext_PutMBString( _ctx, _text.toLocal8Bit().data() );
}

/*  qdom.h */


static DaoNumItem dao_QDomElementPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomElementPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomElementPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomElementPrivate_Typer = 
{ "QDomElementPrivate", NULL, 
  dao_QDomElementPrivate_Nums,
  dao_QDomElementPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomElementPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomElementPrivate_Typer = & QDomElementPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomEntity_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomEntity_QDomEntity( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomEntity_QDomEntity_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomEntity_nodeType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomEntity_notationName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomEntity_publicId( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomEntity_systemId( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomEntity_Meths[] = 
{
  { dao_QDomEntity_QDomEntity, "QDomEntity(  )=>QDomEntity" },
  { dao_QDomEntity_QDomEntity_dao_2, "QDomEntity( x : QDomEntity )=>QDomEntity" },
  { dao_QDomEntity_nodeType, "nodeType( self : QDomEntity )=>int" },
  { dao_QDomEntity_notationName, "notationName( self : QDomEntity )=>string" },
  { dao_QDomEntity_publicId, "publicId( self : QDomEntity )=>string" },
  { dao_QDomEntity_systemId, "systemId( self : QDomEntity )=>string" },
  { NULL, NULL }
};
static void Dao_QDomEntity_Delete( void *self )
{
	delete (QDomEntity*) self;
}
void* dao_cast_QDomEntity_to_QDomNode( void *data )
{
	return (QDomNode*)(QDomEntity*)data;
}

static DaoTypeBase QDomEntity_Typer = 
{ "QDomEntity", NULL, 
  dao_QDomEntity_Nums,
  dao_QDomEntity_Meths, 
  { dao_QDomNode_Typer, 0 },
  { dao_cast_QDomEntity_to_QDomNode,0 },
  Dao_QDomEntity_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomEntity_Typer = & QDomEntity_Typer;
/* qdom.h */
static void dao_QDomEntity_QDomEntity( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomEntity *_self = Dao_QDomEntity_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomEntity_Typer );
}
/* qdom.h */
static void dao_QDomEntity_QDomEntity_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomEntity* x= (QDomEntity*) DValue_CastCData( _p[0], dao_QDomEntity_Typer );
	QDomEntity *_self = Dao_QDomEntity_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomEntity_Typer );
}
/* qdom.h */
static void dao_QDomEntity_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomEntity* self= (QDomEntity*) DValue_CastCData( _p[0], dao_QDomEntity_Typer );
  QDomNode::NodeType _nodeType = self->QDomEntity::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}
/* qdom.h */
static void dao_QDomEntity_notationName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomEntity* self= (QDomEntity*) DValue_CastCData( _p[0], dao_QDomEntity_Typer );
  QString _notationName = self->QDomEntity::notationName(  );
  DaoContext_PutMBString( _ctx, _notationName.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomEntity_publicId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomEntity* self= (QDomEntity*) DValue_CastCData( _p[0], dao_QDomEntity_Typer );
  QString _publicId = self->QDomEntity::publicId(  );
  DaoContext_PutMBString( _ctx, _publicId.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomEntity_systemId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomEntity* self= (QDomEntity*) DValue_CastCData( _p[0], dao_QDomEntity_Typer );
  QString _systemId = self->QDomEntity::systemId(  );
  DaoContext_PutMBString( _ctx, _systemId.toLocal8Bit().data() );
}

/*  qdom.h */


static DaoNumItem dao_QDomEntityPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomEntityPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomEntityPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomEntityPrivate_Typer = 
{ "QDomEntityPrivate", NULL, 
  dao_QDomEntityPrivate_Nums,
  dao_QDomEntityPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomEntityPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomEntityPrivate_Typer = & QDomEntityPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomEntityReference_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomEntityReference_QDomEntityReference( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomEntityReference_QDomEntityReference_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomEntityReference_nodeType( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomEntityReference_Meths[] = 
{
  { dao_QDomEntityReference_QDomEntityReference, "QDomEntityReference(  )=>QDomEntityReference" },
  { dao_QDomEntityReference_QDomEntityReference_dao_2, "QDomEntityReference( x : QDomEntityReference )=>QDomEntityReference" },
  { dao_QDomEntityReference_nodeType, "nodeType( self : QDomEntityReference )=>int" },
  { NULL, NULL }
};
static void Dao_QDomEntityReference_Delete( void *self )
{
	delete (QDomEntityReference*) self;
}
void* dao_cast_QDomEntityReference_to_QDomNode( void *data )
{
	return (QDomNode*)(QDomEntityReference*)data;
}

static DaoTypeBase QDomEntityReference_Typer = 
{ "QDomEntityReference", NULL, 
  dao_QDomEntityReference_Nums,
  dao_QDomEntityReference_Meths, 
  { dao_QDomNode_Typer, 0 },
  { dao_cast_QDomEntityReference_to_QDomNode,0 },
  Dao_QDomEntityReference_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomEntityReference_Typer = & QDomEntityReference_Typer;
/* qdom.h */
static void dao_QDomEntityReference_QDomEntityReference( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomEntityReference *_self = Dao_QDomEntityReference_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomEntityReference_Typer );
}
/* qdom.h */
static void dao_QDomEntityReference_QDomEntityReference_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomEntityReference* x= (QDomEntityReference*) DValue_CastCData( _p[0], dao_QDomEntityReference_Typer );
	QDomEntityReference *_self = Dao_QDomEntityReference_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomEntityReference_Typer );
}
/* qdom.h */
static void dao_QDomEntityReference_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomEntityReference* self= (QDomEntityReference*) DValue_CastCData( _p[0], dao_QDomEntityReference_Typer );
  QDomNode::NodeType _nodeType = self->QDomEntityReference::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}

/*  qdom.h */


static DaoNumItem dao_QDomEntityReferencePrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomEntityReferencePrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomEntityReferencePrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomEntityReferencePrivate_Typer = 
{ "QDomEntityReferencePrivate", NULL, 
  dao_QDomEntityReferencePrivate_Nums,
  dao_QDomEntityReferencePrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomEntityReferencePrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomEntityReferencePrivate_Typer = & QDomEntityReferencePrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomImplementation_Nums[] =
{
  { "AcceptInvalidChars", DAO_INTEGER, QDomImplementation::AcceptInvalidChars },
  { "DropInvalidChars", DAO_INTEGER, QDomImplementation::DropInvalidChars },
  { "ReturnNullNode", DAO_INTEGER, QDomImplementation::ReturnNullNode },
  { NULL, 0, 0 }
};
static void dao_QDomImplementation_QDomImplementation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomImplementation_QDomImplementation_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomImplementation_createDocument( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomImplementation_createDocumentType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomImplementation_hasFeature( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomImplementation_invalidDataPolicy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomImplementation_isNull( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomImplementation_setInvalidDataPolicy( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomImplementation_Meths[] = 
{
  { dao_QDomImplementation_QDomImplementation, "QDomImplementation(  )=>QDomImplementation" },
  { dao_QDomImplementation_QDomImplementation_dao_2, "QDomImplementation( _cp0 : QDomImplementation )=>QDomImplementation" },
  { dao_QDomImplementation_createDocument, "createDocument( self : QDomImplementation, nsURI : string, qName : string, doctype : QDomDocumentType )=>QDomDocument" },
  { dao_QDomImplementation_createDocumentType, "createDocumentType( self : QDomImplementation, qName : string, publicId : string, systemId : string )=>QDomDocumentType" },
  { dao_QDomImplementation_hasFeature, "hasFeature( self : QDomImplementation, feature : string, version : string )=>int" },
  { dao_QDomImplementation_invalidDataPolicy, "invalidDataPolicy(  )=>int" },
  { dao_QDomImplementation_isNull, "isNull( self : QDomImplementation )=>int" },
  { dao_QDomImplementation_setInvalidDataPolicy, "setInvalidDataPolicy( policy : int )" },
  { NULL, NULL }
};
static void Dao_QDomImplementation_Delete( void *self )
{
	delete (QDomImplementation*) self;
}

static DaoTypeBase QDomImplementation_Typer = 
{ "QDomImplementation", NULL, 
  dao_QDomImplementation_Nums,
  dao_QDomImplementation_Meths, 
  { 0 },
  { 0 },
  Dao_QDomImplementation_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomImplementation_Typer = & QDomImplementation_Typer;
/* qdom.h */
static void dao_QDomImplementation_QDomImplementation( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomImplementation *_self = Dao_QDomImplementation_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomImplementation_Typer );
}
/* qdom.h */
static void dao_QDomImplementation_QDomImplementation_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomImplementation* _cp0= (QDomImplementation*) DValue_CastCData( _p[0], dao_QDomImplementation_Typer );
	QDomImplementation *_self = Dao_QDomImplementation_New( *_cp0 );
	DaoContext_PutCData( _ctx, _self, dao_QDomImplementation_Typer );
}
/* qdom.h */
static void dao_QDomImplementation_createDocument( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomImplementation* self= (QDomImplementation*) DValue_CastCData( _p[0], dao_QDomImplementation_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString qName( _mbs2 );
  QDomDocumentType* doctype= (QDomDocumentType*) DValue_CastCData( _p[3], dao_QDomDocumentType_Typer );
  QDomDocument _createDocument = self->QDomImplementation::createDocument( nsURI, qName, *doctype );
  DaoContext_PutCData( _ctx, (void*)new QDomDocument( _createDocument ), dao_QDomDocument_Typer );
}
/* qdom.h */
static void dao_QDomImplementation_createDocumentType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomImplementation* self= (QDomImplementation*) DValue_CastCData( _p[0], dao_QDomImplementation_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString qName( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  QDomDocumentType _createDocumentType = self->QDomImplementation::createDocumentType( qName, publicId, systemId );
  DaoContext_PutCData( _ctx, (void*)new QDomDocumentType( _createDocumentType ), dao_QDomDocumentType_Typer );
}
/* qdom.h */
static void dao_QDomImplementation_hasFeature( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomImplementation* self= (QDomImplementation*) DValue_CastCData( _p[0], dao_QDomImplementation_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString feature( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString version( _mbs2 );
  bool _hasFeature = self->QDomImplementation::hasFeature( feature, version );
  DaoContext_PutInteger( _ctx, (int) _hasFeature );
}
/* qdom.h */
static void dao_QDomImplementation_invalidDataPolicy( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomImplementation::InvalidDataPolicy _invalidDataPolicy = QDomImplementation::invalidDataPolicy(  );
  DaoContext_PutInteger( _ctx, (int) _invalidDataPolicy );
}
/* qdom.h */
static void dao_QDomImplementation_isNull( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomImplementation* self= (QDomImplementation*) DValue_CastCData( _p[0], dao_QDomImplementation_Typer );
  bool _isNull = self->QDomImplementation::isNull(  );
  DaoContext_PutInteger( _ctx, (int) _isNull );
}
/* qdom.h */
static void dao_QDomImplementation_setInvalidDataPolicy( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomImplementation::InvalidDataPolicy policy= (QDomImplementation::InvalidDataPolicy) _p[0]->v.i;
  QDomImplementation::setInvalidDataPolicy( policy );
}

/*  qdom.h */


static DaoNumItem dao_QDomImplementationPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomImplementationPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomImplementationPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomImplementationPrivate_Typer = 
{ "QDomImplementationPrivate", NULL, 
  dao_QDomImplementationPrivate_Nums,
  dao_QDomImplementationPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomImplementationPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomImplementationPrivate_Typer = & QDomImplementationPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomNamedNodeMap_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomNamedNodeMap_QDomNamedNodeMap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_QDomNamedNodeMap_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_contains( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_count( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_isEmpty( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_item( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_namedItem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_namedItemNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_removeNamedItem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_removeNamedItemNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_setNamedItem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_setNamedItemNS( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNamedNodeMap_size( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomNamedNodeMap_Meths[] = 
{
  { dao_QDomNamedNodeMap_QDomNamedNodeMap, "QDomNamedNodeMap(  )=>QDomNamedNodeMap" },
  { dao_QDomNamedNodeMap_QDomNamedNodeMap_dao_2, "QDomNamedNodeMap( _cp0 : QDomNamedNodeMap )=>QDomNamedNodeMap" },
  { dao_QDomNamedNodeMap_contains, "contains( self : QDomNamedNodeMap, name : string )=>int" },
  { dao_QDomNamedNodeMap_count, "count( self : QDomNamedNodeMap )=>int" },
  { dao_QDomNamedNodeMap_isEmpty, "isEmpty( self : QDomNamedNodeMap )=>int" },
  { dao_QDomNamedNodeMap_item, "item( self : QDomNamedNodeMap, index : int )=>QDomNode" },
  { dao_QDomNamedNodeMap_length, "length( self : QDomNamedNodeMap )=>int" },
  { dao_QDomNamedNodeMap_namedItem, "namedItem( self : QDomNamedNodeMap, name : string )=>QDomNode" },
  { dao_QDomNamedNodeMap_namedItemNS, "namedItemNS( self : QDomNamedNodeMap, nsURI : string, localName : string )=>QDomNode" },
  { dao_QDomNamedNodeMap_removeNamedItem, "removeNamedItem( self : QDomNamedNodeMap, name : string )=>QDomNode" },
  { dao_QDomNamedNodeMap_removeNamedItemNS, "removeNamedItemNS( self : QDomNamedNodeMap, nsURI : string, localName : string )=>QDomNode" },
  { dao_QDomNamedNodeMap_setNamedItem, "setNamedItem( self : QDomNamedNodeMap, newNode : QDomNode )=>QDomNode" },
  { dao_QDomNamedNodeMap_setNamedItemNS, "setNamedItemNS( self : QDomNamedNodeMap, newNode : QDomNode )=>QDomNode" },
  { dao_QDomNamedNodeMap_size, "size( self : QDomNamedNodeMap )=>int" },
  { NULL, NULL }
};
static void Dao_QDomNamedNodeMap_Delete( void *self )
{
	delete (QDomNamedNodeMap*) self;
}

static DaoTypeBase QDomNamedNodeMap_Typer = 
{ "QDomNamedNodeMap", NULL, 
  dao_QDomNamedNodeMap_Nums,
  dao_QDomNamedNodeMap_Meths, 
  { 0 },
  { 0 },
  Dao_QDomNamedNodeMap_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomNamedNodeMap_Typer = & QDomNamedNodeMap_Typer;
/* qdom.h */
static void dao_QDomNamedNodeMap_QDomNamedNodeMap( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomNamedNodeMap *_self = Dao_QDomNamedNodeMap_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomNamedNodeMap_Typer );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_QDomNamedNodeMap_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* _cp0= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
	QDomNamedNodeMap *_self = Dao_QDomNamedNodeMap_New( *_cp0 );
	DaoContext_PutCData( _ctx, _self, dao_QDomNamedNodeMap_Typer );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_contains( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _contains = self->QDomNamedNodeMap::contains( name );
  DaoContext_PutInteger( _ctx, (int) _contains );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_count( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  int _count = self->QDomNamedNodeMap::count(  );
  DaoContext_PutInteger( _ctx, (int) _count );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_isEmpty( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  bool _isEmpty = self->QDomNamedNodeMap::isEmpty(  );
  DaoContext_PutInteger( _ctx, (int) _isEmpty );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_item( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  int index= (int) _p[1]->v.i;
  QDomNode _item = self->QDomNamedNodeMap::item( index );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _item ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  uint _length = self->QDomNamedNodeMap::length(  );
  DaoContext_PutInteger( _ctx, (int) _length );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_namedItem( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  QDomNode _namedItem = self->QDomNamedNodeMap::namedItem( name );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _namedItem ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_namedItemNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  QDomNode _namedItemNS = self->QDomNamedNodeMap::namedItemNS( nsURI, localName );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _namedItemNS ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_removeNamedItem( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  QDomNode _removeNamedItem = self->QDomNamedNodeMap::removeNamedItem( name );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _removeNamedItem ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_removeNamedItemNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString nsURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  QDomNode _removeNamedItemNS = self->QDomNamedNodeMap::removeNamedItemNS( nsURI, localName );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _removeNamedItemNS ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_setNamedItem( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  QDomNode* newNode= (QDomNode*) DValue_CastCData( _p[1], dao_QDomNode_Typer );
  QDomNode _setNamedItem = self->QDomNamedNodeMap::setNamedItem( *newNode );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _setNamedItem ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_setNamedItemNS( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  QDomNode* newNode= (QDomNode*) DValue_CastCData( _p[1], dao_QDomNode_Typer );
  QDomNode _setNamedItemNS = self->QDomNamedNodeMap::setNamedItemNS( *newNode );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _setNamedItemNS ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNamedNodeMap_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNamedNodeMap* self= (QDomNamedNodeMap*) DValue_CastCData( _p[0], dao_QDomNamedNodeMap_Typer );
  int _size = self->QDomNamedNodeMap::size(  );
  DaoContext_PutInteger( _ctx, (int) _size );
}

/*  qdom.h */


static DaoNumItem dao_QDomNamedNodeMapPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomNamedNodeMapPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomNamedNodeMapPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomNamedNodeMapPrivate_Typer = 
{ "QDomNamedNodeMapPrivate", NULL, 
  dao_QDomNamedNodeMapPrivate_Nums,
  dao_QDomNamedNodeMapPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomNamedNodeMapPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomNamedNodeMapPrivate_Typer = & QDomNamedNodeMapPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomNodeList_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomNodeList_QDomNodeList( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNodeList_QDomNodeList_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNodeList_at( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNodeList_count( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNodeList_isEmpty( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNodeList_item( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNodeList_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNodeList_size( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomNodeList_Meths[] = 
{
  { dao_QDomNodeList_QDomNodeList, "QDomNodeList(  )=>QDomNodeList" },
  { dao_QDomNodeList_QDomNodeList_dao_2, "QDomNodeList( _cp0 : QDomNodeList )=>QDomNodeList" },
  { dao_QDomNodeList_at, "at( self : QDomNodeList, index : int )=>QDomNode" },
  { dao_QDomNodeList_count, "count( self : QDomNodeList )=>int" },
  { dao_QDomNodeList_isEmpty, "isEmpty( self : QDomNodeList )=>int" },
  { dao_QDomNodeList_item, "item( self : QDomNodeList, index : int )=>QDomNode" },
  { dao_QDomNodeList_length, "length( self : QDomNodeList )=>int" },
  { dao_QDomNodeList_size, "size( self : QDomNodeList )=>int" },
  { NULL, NULL }
};
static void Dao_QDomNodeList_Delete( void *self )
{
	delete (QDomNodeList*) self;
}

static DaoTypeBase QDomNodeList_Typer = 
{ "QDomNodeList", NULL, 
  dao_QDomNodeList_Nums,
  dao_QDomNodeList_Meths, 
  { 0 },
  { 0 },
  Dao_QDomNodeList_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomNodeList_Typer = & QDomNodeList_Typer;
/* qdom.h */
static void dao_QDomNodeList_QDomNodeList( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomNodeList *_self = Dao_QDomNodeList_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomNodeList_Typer );
}
/* qdom.h */
static void dao_QDomNodeList_QDomNodeList_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNodeList* _cp0= (QDomNodeList*) DValue_CastCData( _p[0], dao_QDomNodeList_Typer );
	QDomNodeList *_self = Dao_QDomNodeList_New( *_cp0 );
	DaoContext_PutCData( _ctx, _self, dao_QDomNodeList_Typer );
}
/* qdom.h */
static void dao_QDomNodeList_at( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNodeList* self= (QDomNodeList*) DValue_CastCData( _p[0], dao_QDomNodeList_Typer );
  int index= (int) _p[1]->v.i;
  QDomNode _at = self->QDomNodeList::at( index );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _at ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNodeList_count( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNodeList* self= (QDomNodeList*) DValue_CastCData( _p[0], dao_QDomNodeList_Typer );
  int _count = self->QDomNodeList::count(  );
  DaoContext_PutInteger( _ctx, (int) _count );
}
/* qdom.h */
static void dao_QDomNodeList_isEmpty( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNodeList* self= (QDomNodeList*) DValue_CastCData( _p[0], dao_QDomNodeList_Typer );
  bool _isEmpty = self->QDomNodeList::isEmpty(  );
  DaoContext_PutInteger( _ctx, (int) _isEmpty );
}
/* qdom.h */
static void dao_QDomNodeList_item( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNodeList* self= (QDomNodeList*) DValue_CastCData( _p[0], dao_QDomNodeList_Typer );
  int index= (int) _p[1]->v.i;
  QDomNode _item = self->QDomNodeList::item( index );
  DaoContext_PutCData( _ctx, (void*)new QDomNode( _item ), dao_QDomNode_Typer );
}
/* qdom.h */
static void dao_QDomNodeList_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNodeList* self= (QDomNodeList*) DValue_CastCData( _p[0], dao_QDomNodeList_Typer );
  uint _length = self->QDomNodeList::length(  );
  DaoContext_PutInteger( _ctx, (int) _length );
}
/* qdom.h */
static void dao_QDomNodeList_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNodeList* self= (QDomNodeList*) DValue_CastCData( _p[0], dao_QDomNodeList_Typer );
  int _size = self->QDomNodeList::size(  );
  DaoContext_PutInteger( _ctx, (int) _size );
}

/*  qdom.h */


static DaoNumItem dao_QDomNodeListPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomNodeListPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomNodeListPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomNodeListPrivate_Typer = 
{ "QDomNodeListPrivate", NULL, 
  dao_QDomNodeListPrivate_Nums,
  dao_QDomNodeListPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomNodeListPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomNodeListPrivate_Typer = & QDomNodeListPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomNodePrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomNodePrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomNodePrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomNodePrivate_Typer = 
{ "QDomNodePrivate", NULL, 
  dao_QDomNodePrivate_Nums,
  dao_QDomNodePrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomNodePrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomNodePrivate_Typer = & QDomNodePrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomNotation_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomNotation_QDomNotation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNotation_QDomNotation_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNotation_nodeType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNotation_publicId( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomNotation_systemId( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomNotation_Meths[] = 
{
  { dao_QDomNotation_QDomNotation, "QDomNotation(  )=>QDomNotation" },
  { dao_QDomNotation_QDomNotation_dao_2, "QDomNotation( x : QDomNotation )=>QDomNotation" },
  { dao_QDomNotation_nodeType, "nodeType( self : QDomNotation )=>int" },
  { dao_QDomNotation_publicId, "publicId( self : QDomNotation )=>string" },
  { dao_QDomNotation_systemId, "systemId( self : QDomNotation )=>string" },
  { NULL, NULL }
};
static void Dao_QDomNotation_Delete( void *self )
{
	delete (QDomNotation*) self;
}
void* dao_cast_QDomNotation_to_QDomNode( void *data )
{
	return (QDomNode*)(QDomNotation*)data;
}

static DaoTypeBase QDomNotation_Typer = 
{ "QDomNotation", NULL, 
  dao_QDomNotation_Nums,
  dao_QDomNotation_Meths, 
  { dao_QDomNode_Typer, 0 },
  { dao_cast_QDomNotation_to_QDomNode,0 },
  Dao_QDomNotation_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomNotation_Typer = & QDomNotation_Typer;
/* qdom.h */
static void dao_QDomNotation_QDomNotation( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomNotation *_self = Dao_QDomNotation_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomNotation_Typer );
}
/* qdom.h */
static void dao_QDomNotation_QDomNotation_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNotation* x= (QDomNotation*) DValue_CastCData( _p[0], dao_QDomNotation_Typer );
	QDomNotation *_self = Dao_QDomNotation_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomNotation_Typer );
}
/* qdom.h */
static void dao_QDomNotation_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNotation* self= (QDomNotation*) DValue_CastCData( _p[0], dao_QDomNotation_Typer );
  QDomNode::NodeType _nodeType = self->QDomNotation::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}
/* qdom.h */
static void dao_QDomNotation_publicId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNotation* self= (QDomNotation*) DValue_CastCData( _p[0], dao_QDomNotation_Typer );
  QString _publicId = self->QDomNotation::publicId(  );
  DaoContext_PutMBString( _ctx, _publicId.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomNotation_systemId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomNotation* self= (QDomNotation*) DValue_CastCData( _p[0], dao_QDomNotation_Typer );
  QString _systemId = self->QDomNotation::systemId(  );
  DaoContext_PutMBString( _ctx, _systemId.toLocal8Bit().data() );
}

/*  qdom.h */


static DaoNumItem dao_QDomNotationPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomNotationPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomNotationPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomNotationPrivate_Typer = 
{ "QDomNotationPrivate", NULL, 
  dao_QDomNotationPrivate_Nums,
  dao_QDomNotationPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomNotationPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomNotationPrivate_Typer = & QDomNotationPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomProcessingInstruction_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QDomProcessingInstruction_QDomProcessingInstruction( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomProcessingInstruction_QDomProcessingInstruction_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomProcessingInstruction_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomProcessingInstruction_nodeType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomProcessingInstruction_setData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QDomProcessingInstruction_target( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QDomProcessingInstruction_Meths[] = 
{
  { dao_QDomProcessingInstruction_QDomProcessingInstruction, "QDomProcessingInstruction(  )=>QDomProcessingInstruction" },
  { dao_QDomProcessingInstruction_QDomProcessingInstruction_dao_2, "QDomProcessingInstruction( x : QDomProcessingInstruction )=>QDomProcessingInstruction" },
  { dao_QDomProcessingInstruction_data, "data( self : QDomProcessingInstruction )=>string" },
  { dao_QDomProcessingInstruction_nodeType, "nodeType( self : QDomProcessingInstruction )=>int" },
  { dao_QDomProcessingInstruction_setData, "setData( self : QDomProcessingInstruction, d : string )" },
  { dao_QDomProcessingInstruction_target, "target( self : QDomProcessingInstruction )=>string" },
  { NULL, NULL }
};
static void Dao_QDomProcessingInstruction_Delete( void *self )
{
	delete (QDomProcessingInstruction*) self;
}
void* dao_cast_QDomProcessingInstruction_to_QDomNode( void *data )
{
	return (QDomNode*)(QDomProcessingInstruction*)data;
}

static DaoTypeBase QDomProcessingInstruction_Typer = 
{ "QDomProcessingInstruction", NULL, 
  dao_QDomProcessingInstruction_Nums,
  dao_QDomProcessingInstruction_Meths, 
  { dao_QDomNode_Typer, 0 },
  { dao_cast_QDomProcessingInstruction_to_QDomNode,0 },
  Dao_QDomProcessingInstruction_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomProcessingInstruction_Typer = & QDomProcessingInstruction_Typer;
/* qdom.h */
static void dao_QDomProcessingInstruction_QDomProcessingInstruction( DaoContext *_ctx, DValue *_p[], int _n )
{
	QDomProcessingInstruction *_self = Dao_QDomProcessingInstruction_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QDomProcessingInstruction_Typer );
}
/* qdom.h */
static void dao_QDomProcessingInstruction_QDomProcessingInstruction_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomProcessingInstruction* x= (QDomProcessingInstruction*) DValue_CastCData( _p[0], dao_QDomProcessingInstruction_Typer );
	QDomProcessingInstruction *_self = Dao_QDomProcessingInstruction_New( *x );
	DaoContext_PutCData( _ctx, _self, dao_QDomProcessingInstruction_Typer );
}
/* qdom.h */
static void dao_QDomProcessingInstruction_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomProcessingInstruction* self= (QDomProcessingInstruction*) DValue_CastCData( _p[0], dao_QDomProcessingInstruction_Typer );
  QString _data = self->QDomProcessingInstruction::data(  );
  DaoContext_PutMBString( _ctx, _data.toLocal8Bit().data() );
}
/* qdom.h */
static void dao_QDomProcessingInstruction_nodeType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomProcessingInstruction* self= (QDomProcessingInstruction*) DValue_CastCData( _p[0], dao_QDomProcessingInstruction_Typer );
  QDomNode::NodeType _nodeType = self->QDomProcessingInstruction::nodeType(  );
  DaoContext_PutInteger( _ctx, (int) _nodeType );
}
/* qdom.h */
static void dao_QDomProcessingInstruction_setData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomProcessingInstruction* self= (QDomProcessingInstruction*) DValue_CastCData( _p[0], dao_QDomProcessingInstruction_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString d( _mbs1 );
  self->QDomProcessingInstruction::setData( d );
}
/* qdom.h */
static void dao_QDomProcessingInstruction_target( DaoContext *_ctx, DValue *_p[], int _n )
{
  QDomProcessingInstruction* self= (QDomProcessingInstruction*) DValue_CastCData( _p[0], dao_QDomProcessingInstruction_Typer );
  QString _target = self->QDomProcessingInstruction::target(  );
  DaoContext_PutMBString( _ctx, _target.toLocal8Bit().data() );
}

/*  qdom.h */


static DaoNumItem dao_QDomProcessingInstructionPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomProcessingInstructionPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomProcessingInstructionPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomProcessingInstructionPrivate_Typer = 
{ "QDomProcessingInstructionPrivate", NULL, 
  dao_QDomProcessingInstructionPrivate_Nums,
  dao_QDomProcessingInstructionPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomProcessingInstructionPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomProcessingInstructionPrivate_Typer = & QDomProcessingInstructionPrivate_Typer;

/*  qdom.h */


static DaoNumItem dao_QDomTextPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QDomTextPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QDomTextPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QDomTextPrivate_Typer = 
{ "QDomTextPrivate", NULL, 
  dao_QDomTextPrivate_Nums,
  dao_QDomTextPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QDomTextPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QDomTextPrivate_Typer = & QDomTextPrivate_Typer;

/*  qxml.h */


static DaoNumItem dao_QXmlAttributes_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlAttributes_QXmlAttributes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_append( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_count( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_index_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_index( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_index_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_localName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_qName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_type_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_uri( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_value_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlAttributes_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlAttributes_Meths[] = 
{
  { dao_QXmlAttributes_QXmlAttributes, "QXmlAttributes(  )=>QXmlAttributes" },
  { dao_QXmlAttributes_append, "append( self : QXmlAttributes, qName : string, uri : string, localPart : string, value : string )" },
  { dao_QXmlAttributes_clear, "clear( self : QXmlAttributes )" },
  { dao_QXmlAttributes_count, "count( self : QXmlAttributes )=>int" },
  { dao_QXmlAttributes_index_dao_2, "index( self : QXmlAttributes, qName : QLatin1String )=>int" },
  { dao_QXmlAttributes_index, "index( self : QXmlAttributes, qName : string )=>int" },
  { dao_QXmlAttributes_index_dao_3, "index( self : QXmlAttributes, uri : string, localPart : string )=>int" },
  { dao_QXmlAttributes_length, "length( self : QXmlAttributes )=>int" },
  { dao_QXmlAttributes_localName, "localName( self : QXmlAttributes, index : int )=>string" },
  { dao_QXmlAttributes_qName, "qName( self : QXmlAttributes, index : int )=>string" },
  { dao_QXmlAttributes_type_dao_2, "type( self : QXmlAttributes, qName : string )=>string" },
  { dao_QXmlAttributes_type_dao_3, "type( self : QXmlAttributes, uri : string, localName : string )=>string" },
  { dao_QXmlAttributes_type, "type( self : QXmlAttributes, index : int )=>string" },
  { dao_QXmlAttributes_uri, "uri( self : QXmlAttributes, index : int )=>string" },
  { dao_QXmlAttributes_value_dao_3, "value( self : QXmlAttributes, qName : QLatin1String )=>string" },
  { dao_QXmlAttributes_value_dao_2, "value( self : QXmlAttributes, qName : string )=>string" },
  { dao_QXmlAttributes_value_dao_4, "value( self : QXmlAttributes, uri : string, localName : string )=>string" },
  { dao_QXmlAttributes_value, "value( self : QXmlAttributes, index : int )=>string" },
  { NULL, NULL }
};
static void Dao_QXmlAttributes_Delete( void *self )
{
	delete (QXmlAttributes*) self;
}

static DaoTypeBase QXmlAttributes_Typer = 
{ "QXmlAttributes", NULL, 
  dao_QXmlAttributes_Nums,
  dao_QXmlAttributes_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlAttributes_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlAttributes_Typer = & QXmlAttributes_Typer;
/* qxml.h */
static void dao_QXmlAttributes_QXmlAttributes( DaoContext *_ctx, DValue *_p[], int _n )
{
	QXmlAttributes *_self = Dao_QXmlAttributes_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QXmlAttributes_Typer );
}
/* qxml.h */
static void dao_QXmlAttributes_append( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString qName( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString uri( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString localPart( _mbs3 );
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QString value( _mbs4 );
  self->QXmlAttributes::append( qName, uri, localPart, value );
}
/* qxml.h */
static void dao_QXmlAttributes_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  self->QXmlAttributes::clear(  );
}
/* qxml.h */
static void dao_QXmlAttributes_count( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  int _count = self->QXmlAttributes::count(  );
  DaoContext_PutInteger( _ctx, (int) _count );
}
/* qxml.h */
static void dao_QXmlAttributes_index_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  QLatin1String* qName= (QLatin1String*) DValue_CastCData( _p[1], dao_QLatin1String_Typer );
  int _index = self->QXmlAttributes::index( *qName );
  DaoContext_PutInteger( _ctx, (int) _index );
}
/* qxml.h */
static void dao_QXmlAttributes_index( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString qName( _mbs1 );
  int _index = self->QXmlAttributes::index( qName );
  DaoContext_PutInteger( _ctx, (int) _index );
}
/* qxml.h */
static void dao_QXmlAttributes_index_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString uri( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localPart( _mbs2 );
  int _index = self->QXmlAttributes::index( uri, localPart );
  DaoContext_PutInteger( _ctx, (int) _index );
}
/* qxml.h */
static void dao_QXmlAttributes_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  int _length = self->QXmlAttributes::length(  );
  DaoContext_PutInteger( _ctx, (int) _length );
}
/* qxml.h */
static void dao_QXmlAttributes_localName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  int index= (int) _p[1]->v.i;
  QString _localName = self->QXmlAttributes::localName( index );
  DaoContext_PutMBString( _ctx, _localName.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlAttributes_qName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  int index= (int) _p[1]->v.i;
  QString _qName = self->QXmlAttributes::qName( index );
  DaoContext_PutMBString( _ctx, _qName.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlAttributes_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString qName( _mbs1 );
  QString _type = self->QXmlAttributes::type( qName );
  DaoContext_PutMBString( _ctx, _type.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlAttributes_type_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString uri( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  QString _type = self->QXmlAttributes::type( uri, localName );
  DaoContext_PutMBString( _ctx, _type.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlAttributes_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  int index= (int) _p[1]->v.i;
  QString _type = self->QXmlAttributes::type( index );
  DaoContext_PutMBString( _ctx, _type.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlAttributes_uri( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  int index= (int) _p[1]->v.i;
  QString _uri = self->QXmlAttributes::uri( index );
  DaoContext_PutMBString( _ctx, _uri.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlAttributes_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  QLatin1String* qName= (QLatin1String*) DValue_CastCData( _p[1], dao_QLatin1String_Typer );
  QString _value = self->QXmlAttributes::value( *qName );
  DaoContext_PutMBString( _ctx, _value.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlAttributes_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString qName( _mbs1 );
  QString _value = self->QXmlAttributes::value( qName );
  DaoContext_PutMBString( _ctx, _value.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlAttributes_value_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString uri( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  QString _value = self->QXmlAttributes::value( uri, localName );
  DaoContext_PutMBString( _ctx, _value.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlAttributes_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlAttributes* self= (QXmlAttributes*) DValue_CastCData( _p[0], dao_QXmlAttributes_Typer );
  int index= (int) _p[1]->v.i;
  QString _value = self->QXmlAttributes::value( index );
  DaoContext_PutMBString( _ctx, _value.toLocal8Bit().data() );
}

/*  qxml.h */


static DaoNumItem dao_QXmlAttributes_Attribute_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QXmlAttributes_Attribute_Meths[] = 
{
  { NULL, NULL }
};

static DaoTypeBase QXmlAttributes_Attribute_Typer = 
{ "QXmlAttributes_Attribute", NULL, 
  dao_QXmlAttributes_Attribute_Nums,
  dao_QXmlAttributes_Attribute_Meths, 
  { 0 },
  { 0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlAttributes_Attribute_Typer = & QXmlAttributes_Attribute_Typer;

/*  qxml.h */


static DaoNumItem dao_QXmlAttributes_AttributeList_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QXmlAttributes_AttributeList_Meths[] = 
{
  { NULL, NULL }
};

static DaoTypeBase QXmlAttributes_AttributeList_Typer = 
{ "QXmlAttributes_AttributeList", NULL, 
  dao_QXmlAttributes_AttributeList_Nums,
  dao_QXmlAttributes_AttributeList_Meths, 
  { 0 },
  { 0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlAttributes_AttributeList_Typer = & QXmlAttributes_AttributeList_Typer;

/*  qxml.h */


static DaoNumItem dao_QXmlContentHandler_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlContentHandler_QXmlContentHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_characters( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_endDocument( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_endElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_endPrefixMapping( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_ignorableWhitespace( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_processingInstruction( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_setDocumentLocator( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_skippedEntity( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_startDocument( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_startElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlContentHandler_startPrefixMapping( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlContentHandler_Meths[] = 
{
  { dao_QXmlContentHandler_QXmlContentHandler, "QXmlContentHandler(  )=>QXmlContentHandler" },
  { dao_QXmlContentHandler_characters, "characters( self : QXmlContentHandler, ch : string )=>int" },
  { dao_QXmlContentHandler_endDocument, "endDocument( self : QXmlContentHandler )=>int" },
  { dao_QXmlContentHandler_endElement, "endElement( self : QXmlContentHandler, namespaceURI : string, localName : string, qName : string )=>int" },
  { dao_QXmlContentHandler_endPrefixMapping, "endPrefixMapping( self : QXmlContentHandler, prefix : string )=>int" },
  { dao_QXmlContentHandler_errorString, "errorString( self : QXmlContentHandler )=>string" },
  { dao_QXmlContentHandler_ignorableWhitespace, "ignorableWhitespace( self : QXmlContentHandler, ch : string )=>int" },
  { dao_QXmlContentHandler_processingInstruction, "processingInstruction( self : QXmlContentHandler, target : string, data : string )=>int" },
  { dao_QXmlContentHandler_setDocumentLocator, "setDocumentLocator( self : QXmlContentHandler, locator : QXmlLocator )" },
  { dao_QXmlContentHandler_skippedEntity, "skippedEntity( self : QXmlContentHandler, name : string )=>int" },
  { dao_QXmlContentHandler_startDocument, "startDocument( self : QXmlContentHandler )=>int" },
  { dao_QXmlContentHandler_startElement, "startElement( self : QXmlContentHandler, namespaceURI : string, localName : string, qName : string, atts : QXmlAttributes )=>int" },
  { dao_QXmlContentHandler_startPrefixMapping, "startPrefixMapping( self : QXmlContentHandler, prefix : string, uri : string )=>int" },
  { NULL, NULL }
};
static void Dao_QXmlContentHandler_Delete( void *self )
{
	delete (QXmlContentHandler*) self;
}

static DaoTypeBase QXmlContentHandler_Typer = 
{ "QXmlContentHandler", NULL, 
  dao_QXmlContentHandler_Nums,
  dao_QXmlContentHandler_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlContentHandler_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlContentHandler_Typer = & QXmlContentHandler_Typer;
static void dao_QXmlContentHandler_QXmlContentHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QXmlContentHandler *self = DaoCxx_QXmlContentHandler_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}
/* qxml.h */
static void dao_QXmlContentHandler_characters( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString ch( _mbs1 );
  bool _characters = self->characters( ch );
  DaoContext_PutInteger( _ctx, (int) _characters );
}
/* qxml.h */
static void dao_QXmlContentHandler_endDocument( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  bool _endDocument = self->endDocument(  );
  DaoContext_PutInteger( _ctx, (int) _endDocument );
}
/* qxml.h */
static void dao_QXmlContentHandler_endElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString namespaceURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString qName( _mbs3 );
  bool _endElement = self->endElement( namespaceURI, localName, qName );
  DaoContext_PutInteger( _ctx, (int) _endElement );
}
/* qxml.h */
static void dao_QXmlContentHandler_endPrefixMapping( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString prefix( _mbs1 );
  bool _endPrefixMapping = self->endPrefixMapping( prefix );
  DaoContext_PutInteger( _ctx, (int) _endPrefixMapping );
}
/* qxml.h */
static void dao_QXmlContentHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  QString _errorString = self->errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlContentHandler_ignorableWhitespace( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString ch( _mbs1 );
  bool _ignorableWhitespace = self->ignorableWhitespace( ch );
  DaoContext_PutInteger( _ctx, (int) _ignorableWhitespace );
}
/* qxml.h */
static void dao_QXmlContentHandler_processingInstruction( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString target( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString data( _mbs2 );
  bool _processingInstruction = self->processingInstruction( target, data );
  DaoContext_PutInteger( _ctx, (int) _processingInstruction );
}
/* qxml.h */
static void dao_QXmlContentHandler_setDocumentLocator( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  QXmlLocator* locator= (QXmlLocator*) DValue_CastCData( _p[1], dao_QXmlLocator_Typer );
  self->setDocumentLocator( locator );
}
/* qxml.h */
static void dao_QXmlContentHandler_skippedEntity( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _skippedEntity = self->skippedEntity( name );
  DaoContext_PutInteger( _ctx, (int) _skippedEntity );
}
/* qxml.h */
static void dao_QXmlContentHandler_startDocument( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  bool _startDocument = self->startDocument(  );
  DaoContext_PutInteger( _ctx, (int) _startDocument );
}
/* qxml.h */
static void dao_QXmlContentHandler_startElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString namespaceURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString qName( _mbs3 );
  QXmlAttributes* atts= (QXmlAttributes*) DValue_CastCData( _p[4], dao_QXmlAttributes_Typer );
  bool _startElement = self->startElement( namespaceURI, localName, qName, *atts );
  DaoContext_PutInteger( _ctx, (int) _startElement );
}
/* qxml.h */
static void dao_QXmlContentHandler_startPrefixMapping( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlContentHandler* self= (QXmlContentHandler*) DValue_CastCData( _p[0], dao_QXmlContentHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString prefix( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString uri( _mbs2 );
  bool _startPrefixMapping = self->startPrefixMapping( prefix, uri );
  DaoContext_PutInteger( _ctx, (int) _startPrefixMapping );
}

/*  qxml.h */


static DaoNumItem dao_QXmlDTDHandler_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlDTDHandler_QXmlDTDHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDTDHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDTDHandler_notationDecl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDTDHandler_unparsedEntityDecl( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlDTDHandler_Meths[] = 
{
  { dao_QXmlDTDHandler_QXmlDTDHandler, "QXmlDTDHandler(  )=>QXmlDTDHandler" },
  { dao_QXmlDTDHandler_errorString, "errorString( self : QXmlDTDHandler )=>string" },
  { dao_QXmlDTDHandler_notationDecl, "notationDecl( self : QXmlDTDHandler, name : string, publicId : string, systemId : string )=>int" },
  { dao_QXmlDTDHandler_unparsedEntityDecl, "unparsedEntityDecl( self : QXmlDTDHandler, name : string, publicId : string, systemId : string, notationName : string )=>int" },
  { NULL, NULL }
};
static void Dao_QXmlDTDHandler_Delete( void *self )
{
	delete (QXmlDTDHandler*) self;
}

static DaoTypeBase QXmlDTDHandler_Typer = 
{ "QXmlDTDHandler", NULL, 
  dao_QXmlDTDHandler_Nums,
  dao_QXmlDTDHandler_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlDTDHandler_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlDTDHandler_Typer = & QXmlDTDHandler_Typer;
static void dao_QXmlDTDHandler_QXmlDTDHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QXmlDTDHandler *self = DaoCxx_QXmlDTDHandler_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}
/* qxml.h */
static void dao_QXmlDTDHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDTDHandler* self= (QXmlDTDHandler*) DValue_CastCData( _p[0], dao_QXmlDTDHandler_Typer );
  QString _errorString = self->errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlDTDHandler_notationDecl( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDTDHandler* self= (QXmlDTDHandler*) DValue_CastCData( _p[0], dao_QXmlDTDHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  bool _notationDecl = self->notationDecl( name, publicId, systemId );
  DaoContext_PutInteger( _ctx, (int) _notationDecl );
}
/* qxml.h */
static void dao_QXmlDTDHandler_unparsedEntityDecl( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDTDHandler* self= (QXmlDTDHandler*) DValue_CastCData( _p[0], dao_QXmlDTDHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QString notationName( _mbs4 );
  bool _unparsedEntityDecl = self->unparsedEntityDecl( name, publicId, systemId, notationName );
  DaoContext_PutInteger( _ctx, (int) _unparsedEntityDecl );
}

/*  qxml.h */


static DaoNumItem dao_QXmlDeclHandler_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlDeclHandler_QXmlDeclHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDeclHandler_attributeDecl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDeclHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDeclHandler_externalEntityDecl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDeclHandler_internalEntityDecl( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlDeclHandler_Meths[] = 
{
  { dao_QXmlDeclHandler_QXmlDeclHandler, "QXmlDeclHandler(  )=>QXmlDeclHandler" },
  { dao_QXmlDeclHandler_attributeDecl, "attributeDecl( self : QXmlDeclHandler, eName : string, aName : string, type : string, valueDefault : string, value : string )=>int" },
  { dao_QXmlDeclHandler_errorString, "errorString( self : QXmlDeclHandler )=>string" },
  { dao_QXmlDeclHandler_externalEntityDecl, "externalEntityDecl( self : QXmlDeclHandler, name : string, publicId : string, systemId : string )=>int" },
  { dao_QXmlDeclHandler_internalEntityDecl, "internalEntityDecl( self : QXmlDeclHandler, name : string, value : string )=>int" },
  { NULL, NULL }
};
static void Dao_QXmlDeclHandler_Delete( void *self )
{
	delete (QXmlDeclHandler*) self;
}

static DaoTypeBase QXmlDeclHandler_Typer = 
{ "QXmlDeclHandler", NULL, 
  dao_QXmlDeclHandler_Nums,
  dao_QXmlDeclHandler_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlDeclHandler_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlDeclHandler_Typer = & QXmlDeclHandler_Typer;
static void dao_QXmlDeclHandler_QXmlDeclHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QXmlDeclHandler *self = DaoCxx_QXmlDeclHandler_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}
/* qxml.h */
static void dao_QXmlDeclHandler_attributeDecl( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDeclHandler* self= (QXmlDeclHandler*) DValue_CastCData( _p[0], dao_QXmlDeclHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString eName( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString aName( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString type( _mbs3 );
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QString valueDefault( _mbs4 );
  char *_mbs5 = DValue_GetMBString( _p[5] );
  QString value( _mbs5 );
  bool _attributeDecl = self->attributeDecl( eName, aName, type, valueDefault, value );
  DaoContext_PutInteger( _ctx, (int) _attributeDecl );
}
/* qxml.h */
static void dao_QXmlDeclHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDeclHandler* self= (QXmlDeclHandler*) DValue_CastCData( _p[0], dao_QXmlDeclHandler_Typer );
  QString _errorString = self->errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlDeclHandler_externalEntityDecl( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDeclHandler* self= (QXmlDeclHandler*) DValue_CastCData( _p[0], dao_QXmlDeclHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  bool _externalEntityDecl = self->externalEntityDecl( name, publicId, systemId );
  DaoContext_PutInteger( _ctx, (int) _externalEntityDecl );
}
/* qxml.h */
static void dao_QXmlDeclHandler_internalEntityDecl( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDeclHandler* self= (QXmlDeclHandler*) DValue_CastCData( _p[0], dao_QXmlDeclHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString value( _mbs2 );
  bool _internalEntityDecl = self->internalEntityDecl( name, value );
  DaoContext_PutInteger( _ctx, (int) _internalEntityDecl );
}

/*  qxml.h */


static DaoNumItem dao_QXmlErrorHandler_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlErrorHandler_QXmlErrorHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlErrorHandler_error( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlErrorHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlErrorHandler_fatalError( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlErrorHandler_warning( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlErrorHandler_Meths[] = 
{
  { dao_QXmlErrorHandler_QXmlErrorHandler, "QXmlErrorHandler(  )=>QXmlErrorHandler" },
  { dao_QXmlErrorHandler_error, "error( self : QXmlErrorHandler, exception : QXmlParseException )=>int" },
  { dao_QXmlErrorHandler_errorString, "errorString( self : QXmlErrorHandler )=>string" },
  { dao_QXmlErrorHandler_fatalError, "fatalError( self : QXmlErrorHandler, exception : QXmlParseException )=>int" },
  { dao_QXmlErrorHandler_warning, "warning( self : QXmlErrorHandler, exception : QXmlParseException )=>int" },
  { NULL, NULL }
};
static void Dao_QXmlErrorHandler_Delete( void *self )
{
	delete (QXmlErrorHandler*) self;
}

static DaoTypeBase QXmlErrorHandler_Typer = 
{ "QXmlErrorHandler", NULL, 
  dao_QXmlErrorHandler_Nums,
  dao_QXmlErrorHandler_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlErrorHandler_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlErrorHandler_Typer = & QXmlErrorHandler_Typer;
static void dao_QXmlErrorHandler_QXmlErrorHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QXmlErrorHandler *self = DaoCxx_QXmlErrorHandler_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}
/* qxml.h */
static void dao_QXmlErrorHandler_error( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlErrorHandler* self= (QXmlErrorHandler*) DValue_CastCData( _p[0], dao_QXmlErrorHandler_Typer );
  QXmlParseException* exception= (QXmlParseException*) DValue_CastCData( _p[1], dao_QXmlParseException_Typer );
  bool _error = self->error( *exception );
  DaoContext_PutInteger( _ctx, (int) _error );
}
/* qxml.h */
static void dao_QXmlErrorHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlErrorHandler* self= (QXmlErrorHandler*) DValue_CastCData( _p[0], dao_QXmlErrorHandler_Typer );
  QString _errorString = self->errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlErrorHandler_fatalError( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlErrorHandler* self= (QXmlErrorHandler*) DValue_CastCData( _p[0], dao_QXmlErrorHandler_Typer );
  QXmlParseException* exception= (QXmlParseException*) DValue_CastCData( _p[1], dao_QXmlParseException_Typer );
  bool _fatalError = self->fatalError( *exception );
  DaoContext_PutInteger( _ctx, (int) _fatalError );
}
/* qxml.h */
static void dao_QXmlErrorHandler_warning( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlErrorHandler* self= (QXmlErrorHandler*) DValue_CastCData( _p[0], dao_QXmlErrorHandler_Typer );
  QXmlParseException* exception= (QXmlParseException*) DValue_CastCData( _p[1], dao_QXmlParseException_Typer );
  bool _warning = self->warning( *exception );
  DaoContext_PutInteger( _ctx, (int) _warning );
}

/*  qxml.h */


static DaoNumItem dao_QXmlEntityResolver_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlEntityResolver_QXmlEntityResolver( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlEntityResolver_errorString( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlEntityResolver_Meths[] = 
{
  { dao_QXmlEntityResolver_QXmlEntityResolver, "QXmlEntityResolver(  )=>QXmlEntityResolver" },
  { dao_QXmlEntityResolver_errorString, "errorString( self : QXmlEntityResolver )=>string" },
  { NULL, NULL }
};
static void Dao_QXmlEntityResolver_Delete( void *self )
{
	delete (QXmlEntityResolver*) self;
}

static DaoTypeBase QXmlEntityResolver_Typer = 
{ "QXmlEntityResolver", NULL, 
  dao_QXmlEntityResolver_Nums,
  dao_QXmlEntityResolver_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlEntityResolver_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlEntityResolver_Typer = & QXmlEntityResolver_Typer;
static void dao_QXmlEntityResolver_QXmlEntityResolver( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QXmlEntityResolver *self = DaoCxx_QXmlEntityResolver_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}
/* qxml.h */
static void dao_QXmlEntityResolver_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlEntityResolver* self= (QXmlEntityResolver*) DValue_CastCData( _p[0], dao_QXmlEntityResolver_Typer );
  QString _errorString = self->errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}

/*  qxml.h */


static DaoNumItem dao_QXmlLexicalHandler_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlLexicalHandler_QXmlLexicalHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlLexicalHandler_comment( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlLexicalHandler_endCDATA( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlLexicalHandler_endDTD( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlLexicalHandler_endEntity( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlLexicalHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlLexicalHandler_startCDATA( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlLexicalHandler_startDTD( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlLexicalHandler_startEntity( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlLexicalHandler_Meths[] = 
{
  { dao_QXmlLexicalHandler_QXmlLexicalHandler, "QXmlLexicalHandler(  )=>QXmlLexicalHandler" },
  { dao_QXmlLexicalHandler_comment, "comment( self : QXmlLexicalHandler, ch : string )=>int" },
  { dao_QXmlLexicalHandler_endCDATA, "endCDATA( self : QXmlLexicalHandler )=>int" },
  { dao_QXmlLexicalHandler_endDTD, "endDTD( self : QXmlLexicalHandler )=>int" },
  { dao_QXmlLexicalHandler_endEntity, "endEntity( self : QXmlLexicalHandler, name : string )=>int" },
  { dao_QXmlLexicalHandler_errorString, "errorString( self : QXmlLexicalHandler )=>string" },
  { dao_QXmlLexicalHandler_startCDATA, "startCDATA( self : QXmlLexicalHandler )=>int" },
  { dao_QXmlLexicalHandler_startDTD, "startDTD( self : QXmlLexicalHandler, name : string, publicId : string, systemId : string )=>int" },
  { dao_QXmlLexicalHandler_startEntity, "startEntity( self : QXmlLexicalHandler, name : string )=>int" },
  { NULL, NULL }
};
static void Dao_QXmlLexicalHandler_Delete( void *self )
{
	delete (QXmlLexicalHandler*) self;
}

static DaoTypeBase QXmlLexicalHandler_Typer = 
{ "QXmlLexicalHandler", NULL, 
  dao_QXmlLexicalHandler_Nums,
  dao_QXmlLexicalHandler_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlLexicalHandler_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlLexicalHandler_Typer = & QXmlLexicalHandler_Typer;
static void dao_QXmlLexicalHandler_QXmlLexicalHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QXmlLexicalHandler *self = DaoCxx_QXmlLexicalHandler_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}
/* qxml.h */
static void dao_QXmlLexicalHandler_comment( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlLexicalHandler* self= (QXmlLexicalHandler*) DValue_CastCData( _p[0], dao_QXmlLexicalHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString ch( _mbs1 );
  bool _comment = self->comment( ch );
  DaoContext_PutInteger( _ctx, (int) _comment );
}
/* qxml.h */
static void dao_QXmlLexicalHandler_endCDATA( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlLexicalHandler* self= (QXmlLexicalHandler*) DValue_CastCData( _p[0], dao_QXmlLexicalHandler_Typer );
  bool _endCDATA = self->endCDATA(  );
  DaoContext_PutInteger( _ctx, (int) _endCDATA );
}
/* qxml.h */
static void dao_QXmlLexicalHandler_endDTD( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlLexicalHandler* self= (QXmlLexicalHandler*) DValue_CastCData( _p[0], dao_QXmlLexicalHandler_Typer );
  bool _endDTD = self->endDTD(  );
  DaoContext_PutInteger( _ctx, (int) _endDTD );
}
/* qxml.h */
static void dao_QXmlLexicalHandler_endEntity( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlLexicalHandler* self= (QXmlLexicalHandler*) DValue_CastCData( _p[0], dao_QXmlLexicalHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _endEntity = self->endEntity( name );
  DaoContext_PutInteger( _ctx, (int) _endEntity );
}
/* qxml.h */
static void dao_QXmlLexicalHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlLexicalHandler* self= (QXmlLexicalHandler*) DValue_CastCData( _p[0], dao_QXmlLexicalHandler_Typer );
  QString _errorString = self->errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlLexicalHandler_startCDATA( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlLexicalHandler* self= (QXmlLexicalHandler*) DValue_CastCData( _p[0], dao_QXmlLexicalHandler_Typer );
  bool _startCDATA = self->startCDATA(  );
  DaoContext_PutInteger( _ctx, (int) _startCDATA );
}
/* qxml.h */
static void dao_QXmlLexicalHandler_startDTD( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlLexicalHandler* self= (QXmlLexicalHandler*) DValue_CastCData( _p[0], dao_QXmlLexicalHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  bool _startDTD = self->startDTD( name, publicId, systemId );
  DaoContext_PutInteger( _ctx, (int) _startDTD );
}
/* qxml.h */
static void dao_QXmlLexicalHandler_startEntity( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlLexicalHandler* self= (QXmlLexicalHandler*) DValue_CastCData( _p[0], dao_QXmlLexicalHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _startEntity = self->startEntity( name );
  DaoContext_PutInteger( _ctx, (int) _startEntity );
}

/*  qxml.h */


static DaoNumItem dao_QXmlDefaultHandler_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlDefaultHandler_QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_attributeDecl__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_attributeDecl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_characters__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_characters( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_comment__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_comment( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endCDATA__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endCDATA( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endDTD__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endDTD( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endDocument__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endDocument( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endElement__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endEntity__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endEntity( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endPrefixMapping__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_endPrefixMapping( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_error__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_error( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_errorString__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_externalEntityDecl__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_externalEntityDecl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_fatalError__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_fatalError( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_ignorableWhitespace__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_ignorableWhitespace( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_internalEntityDecl__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_internalEntityDecl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_notationDecl__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_notationDecl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_processingInstruction__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_processingInstruction( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_setDocumentLocator__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_setDocumentLocator( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_skippedEntity__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_skippedEntity( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startCDATA__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startCDATA( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startDTD__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startDTD( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startDocument__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startDocument( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startElement__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startEntity__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startEntity( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startPrefixMapping__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_startPrefixMapping( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_unparsedEntityDecl__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_unparsedEntityDecl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_warning__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlDefaultHandler_warning( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlDefaultHandler_Meths[] = 
{
  { dao_QXmlDefaultHandler_QXmlDefaultHandler, "QXmlDefaultHandler(  )=>QXmlDefaultHandler" },
  { dao_QXmlDefaultHandler_attributeDecl, "attributeDecl( self : QXmlDefaultHandler, eName : string, aName : string, type : string, valueDefault : string, value : string )=>int" },
  { dao_QXmlDefaultHandler_characters, "characters( self : QXmlDefaultHandler, ch : string )=>int" },
  { dao_QXmlDefaultHandler_comment, "comment( self : QXmlDefaultHandler, ch : string )=>int" },
  { dao_QXmlDefaultHandler_endCDATA, "endCDATA( self : QXmlDefaultHandler )=>int" },
  { dao_QXmlDefaultHandler_endDTD, "endDTD( self : QXmlDefaultHandler )=>int" },
  { dao_QXmlDefaultHandler_endDocument, "endDocument( self : QXmlDefaultHandler )=>int" },
  { dao_QXmlDefaultHandler_endElement, "endElement( self : QXmlDefaultHandler, namespaceURI : string, localName : string, qName : string )=>int" },
  { dao_QXmlDefaultHandler_endEntity, "endEntity( self : QXmlDefaultHandler, name : string )=>int" },
  { dao_QXmlDefaultHandler_endPrefixMapping, "endPrefixMapping( self : QXmlDefaultHandler, prefix : string )=>int" },
  { dao_QXmlDefaultHandler_error, "error( self : QXmlDefaultHandler, exception : QXmlParseException )=>int" },
  { dao_QXmlDefaultHandler_errorString, "errorString( self : QXmlDefaultHandler )=>string" },
  { dao_QXmlDefaultHandler_externalEntityDecl, "externalEntityDecl( self : QXmlDefaultHandler, name : string, publicId : string, systemId : string )=>int" },
  { dao_QXmlDefaultHandler_fatalError, "fatalError( self : QXmlDefaultHandler, exception : QXmlParseException )=>int" },
  { dao_QXmlDefaultHandler_ignorableWhitespace, "ignorableWhitespace( self : QXmlDefaultHandler, ch : string )=>int" },
  { dao_QXmlDefaultHandler_internalEntityDecl, "internalEntityDecl( self : QXmlDefaultHandler, name : string, value : string )=>int" },
  { dao_QXmlDefaultHandler_notationDecl, "notationDecl( self : QXmlDefaultHandler, name : string, publicId : string, systemId : string )=>int" },
  { dao_QXmlDefaultHandler_processingInstruction, "processingInstruction( self : QXmlDefaultHandler, target : string, data : string )=>int" },
  { dao_QXmlDefaultHandler_setDocumentLocator, "setDocumentLocator( self : QXmlDefaultHandler, locator : QXmlLocator )" },
  { dao_QXmlDefaultHandler_skippedEntity, "skippedEntity( self : QXmlDefaultHandler, name : string )=>int" },
  { dao_QXmlDefaultHandler_startCDATA, "startCDATA( self : QXmlDefaultHandler )=>int" },
  { dao_QXmlDefaultHandler_startDTD, "startDTD( self : QXmlDefaultHandler, name : string, publicId : string, systemId : string )=>int" },
  { dao_QXmlDefaultHandler_startDocument, "startDocument( self : QXmlDefaultHandler )=>int" },
  { dao_QXmlDefaultHandler_startElement, "startElement( self : QXmlDefaultHandler, namespaceURI : string, localName : string, qName : string, atts : QXmlAttributes )=>int" },
  { dao_QXmlDefaultHandler_startEntity, "startEntity( self : QXmlDefaultHandler, name : string )=>int" },
  { dao_QXmlDefaultHandler_startPrefixMapping, "startPrefixMapping( self : QXmlDefaultHandler, prefix : string, uri : string )=>int" },
  { dao_QXmlDefaultHandler_unparsedEntityDecl, "unparsedEntityDecl( self : QXmlDefaultHandler, name : string, publicId : string, systemId : string, notationName : string )=>int" },
  { dao_QXmlDefaultHandler_warning, "warning( self : QXmlDefaultHandler, exception : QXmlParseException )=>int" },
  { NULL, NULL }
};
static void Dao_QXmlDefaultHandler_Delete( void *self )
{
	delete (QXmlDefaultHandler*) self;
}
void* dao_cast_QXmlDefaultHandler_to_QXmlContentHandler( void *data )
{
	return (QXmlContentHandler*)(QXmlDefaultHandler*)data;
}
void* dao_cast_QXmlDefaultHandler_to_QXmlErrorHandler( void *data )
{
	return (QXmlErrorHandler*)(QXmlDefaultHandler*)data;
}
void* dao_cast_QXmlDefaultHandler_to_QXmlDTDHandler( void *data )
{
	return (QXmlDTDHandler*)(QXmlDefaultHandler*)data;
}
void* dao_cast_QXmlDefaultHandler_to_QXmlEntityResolver( void *data )
{
	return (QXmlEntityResolver*)(QXmlDefaultHandler*)data;
}
void* dao_cast_QXmlDefaultHandler_to_QXmlLexicalHandler( void *data )
{
	return (QXmlLexicalHandler*)(QXmlDefaultHandler*)data;
}
void* dao_cast_QXmlDefaultHandler_to_QXmlDeclHandler( void *data )
{
	return (QXmlDeclHandler*)(QXmlDefaultHandler*)data;
}

static DaoTypeBase QXmlDefaultHandler_Typer = 
{ "QXmlDefaultHandler", NULL, 
  dao_QXmlDefaultHandler_Nums,
  dao_QXmlDefaultHandler_Meths, 
  { dao_QXmlContentHandler_Typer, dao_QXmlErrorHandler_Typer, dao_QXmlDTDHandler_Typer, dao_QXmlEntityResolver_Typer, dao_QXmlLexicalHandler_Typer, dao_QXmlDeclHandler_Typer, 0 },
  { dao_cast_QXmlDefaultHandler_to_QXmlContentHandler,dao_cast_QXmlDefaultHandler_to_QXmlErrorHandler,dao_cast_QXmlDefaultHandler_to_QXmlDTDHandler,dao_cast_QXmlDefaultHandler_to_QXmlEntityResolver,dao_cast_QXmlDefaultHandler_to_QXmlLexicalHandler,dao_cast_QXmlDefaultHandler_to_QXmlDeclHandler,0 },
  Dao_QXmlDefaultHandler_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlDefaultHandler_Typer = & QXmlDefaultHandler_Typer;
/* qxml.h */
static void dao_QXmlDefaultHandler_QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QXmlDefaultHandler *_self = DaoCxx_QXmlDefaultHandler_New(  );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_attributeDecl__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString eName( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString aName( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString type( _mbs3 );
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QString valueDefault( _mbs4 );
  char *_mbs5 = DValue_GetMBString( _p[5] );
  QString value( _mbs5 );
  bool _attributeDecl = self->QXmlDefaultHandler::attributeDecl( eName, aName, type, valueDefault, value );
  DaoContext_PutInteger( _ctx, (int) _attributeDecl );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_attributeDecl( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_attributeDecl__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString eName( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString aName( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString type( _mbs3 );
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QString valueDefault( _mbs4 );
  char *_mbs5 = DValue_GetMBString( _p[5] );
  QString value( _mbs5 );
  bool _attributeDecl = self->attributeDecl( eName, aName, type, valueDefault, value );
  DaoContext_PutInteger( _ctx, (int) _attributeDecl );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_characters__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString ch( _mbs1 );
  bool _characters = self->QXmlDefaultHandler::characters( ch );
  DaoContext_PutInteger( _ctx, (int) _characters );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_characters( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_characters__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString ch( _mbs1 );
  bool _characters = self->characters( ch );
  DaoContext_PutInteger( _ctx, (int) _characters );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_comment__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString ch( _mbs1 );
  bool _comment = self->QXmlDefaultHandler::comment( ch );
  DaoContext_PutInteger( _ctx, (int) _comment );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_comment( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_comment__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString ch( _mbs1 );
  bool _comment = self->comment( ch );
  DaoContext_PutInteger( _ctx, (int) _comment );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endCDATA__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  bool _endCDATA = self->QXmlDefaultHandler::endCDATA(  );
  DaoContext_PutInteger( _ctx, (int) _endCDATA );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endCDATA( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_endCDATA__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  bool _endCDATA = self->endCDATA(  );
  DaoContext_PutInteger( _ctx, (int) _endCDATA );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endDTD__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  bool _endDTD = self->QXmlDefaultHandler::endDTD(  );
  DaoContext_PutInteger( _ctx, (int) _endDTD );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endDTD( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_endDTD__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  bool _endDTD = self->endDTD(  );
  DaoContext_PutInteger( _ctx, (int) _endDTD );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endDocument__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  bool _endDocument = self->QXmlDefaultHandler::endDocument(  );
  DaoContext_PutInteger( _ctx, (int) _endDocument );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endDocument( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_endDocument__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  bool _endDocument = self->endDocument(  );
  DaoContext_PutInteger( _ctx, (int) _endDocument );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endElement__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString namespaceURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString qName( _mbs3 );
  bool _endElement = self->QXmlDefaultHandler::endElement( namespaceURI, localName, qName );
  DaoContext_PutInteger( _ctx, (int) _endElement );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_endElement__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString namespaceURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString qName( _mbs3 );
  bool _endElement = self->endElement( namespaceURI, localName, qName );
  DaoContext_PutInteger( _ctx, (int) _endElement );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endEntity__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _endEntity = self->QXmlDefaultHandler::endEntity( name );
  DaoContext_PutInteger( _ctx, (int) _endEntity );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endEntity( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_endEntity__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _endEntity = self->endEntity( name );
  DaoContext_PutInteger( _ctx, (int) _endEntity );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endPrefixMapping__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString prefix( _mbs1 );
  bool _endPrefixMapping = self->QXmlDefaultHandler::endPrefixMapping( prefix );
  DaoContext_PutInteger( _ctx, (int) _endPrefixMapping );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_endPrefixMapping( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_endPrefixMapping__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString prefix( _mbs1 );
  bool _endPrefixMapping = self->endPrefixMapping( prefix );
  DaoContext_PutInteger( _ctx, (int) _endPrefixMapping );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_error__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  QXmlParseException* exception= (QXmlParseException*) DValue_CastCData( _p[1], dao_QXmlParseException_Typer );
  bool _error = self->QXmlDefaultHandler::error( *exception );
  DaoContext_PutInteger( _ctx, (int) _error );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_error( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_error__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  QXmlParseException* exception= (QXmlParseException*) DValue_CastCData( _p[1], dao_QXmlParseException_Typer );
  bool _error = self->error( *exception );
  DaoContext_PutInteger( _ctx, (int) _error );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_errorString__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  QString _errorString = self->QXmlDefaultHandler::errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_errorString__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  QString _errorString = self->errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_externalEntityDecl__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  bool _externalEntityDecl = self->QXmlDefaultHandler::externalEntityDecl( name, publicId, systemId );
  DaoContext_PutInteger( _ctx, (int) _externalEntityDecl );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_externalEntityDecl( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_externalEntityDecl__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  bool _externalEntityDecl = self->externalEntityDecl( name, publicId, systemId );
  DaoContext_PutInteger( _ctx, (int) _externalEntityDecl );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_fatalError__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  QXmlParseException* exception= (QXmlParseException*) DValue_CastCData( _p[1], dao_QXmlParseException_Typer );
  bool _fatalError = self->QXmlDefaultHandler::fatalError( *exception );
  DaoContext_PutInteger( _ctx, (int) _fatalError );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_fatalError( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_fatalError__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  QXmlParseException* exception= (QXmlParseException*) DValue_CastCData( _p[1], dao_QXmlParseException_Typer );
  bool _fatalError = self->fatalError( *exception );
  DaoContext_PutInteger( _ctx, (int) _fatalError );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_ignorableWhitespace__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString ch( _mbs1 );
  bool _ignorableWhitespace = self->QXmlDefaultHandler::ignorableWhitespace( ch );
  DaoContext_PutInteger( _ctx, (int) _ignorableWhitespace );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_ignorableWhitespace( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_ignorableWhitespace__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString ch( _mbs1 );
  bool _ignorableWhitespace = self->ignorableWhitespace( ch );
  DaoContext_PutInteger( _ctx, (int) _ignorableWhitespace );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_internalEntityDecl__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString value( _mbs2 );
  bool _internalEntityDecl = self->QXmlDefaultHandler::internalEntityDecl( name, value );
  DaoContext_PutInteger( _ctx, (int) _internalEntityDecl );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_internalEntityDecl( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_internalEntityDecl__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString value( _mbs2 );
  bool _internalEntityDecl = self->internalEntityDecl( name, value );
  DaoContext_PutInteger( _ctx, (int) _internalEntityDecl );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_notationDecl__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  bool _notationDecl = self->QXmlDefaultHandler::notationDecl( name, publicId, systemId );
  DaoContext_PutInteger( _ctx, (int) _notationDecl );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_notationDecl( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_notationDecl__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  bool _notationDecl = self->notationDecl( name, publicId, systemId );
  DaoContext_PutInteger( _ctx, (int) _notationDecl );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_processingInstruction__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString target( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString data( _mbs2 );
  bool _processingInstruction = self->QXmlDefaultHandler::processingInstruction( target, data );
  DaoContext_PutInteger( _ctx, (int) _processingInstruction );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_processingInstruction( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_processingInstruction__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString target( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString data( _mbs2 );
  bool _processingInstruction = self->processingInstruction( target, data );
  DaoContext_PutInteger( _ctx, (int) _processingInstruction );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_setDocumentLocator__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  QXmlLocator* locator= (QXmlLocator*) DValue_CastCData( _p[1], dao_QXmlLocator_Typer );
  self->QXmlDefaultHandler::setDocumentLocator( locator );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_setDocumentLocator( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_setDocumentLocator__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  QXmlLocator* locator= (QXmlLocator*) DValue_CastCData( _p[1], dao_QXmlLocator_Typer );
  self->setDocumentLocator( locator );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_skippedEntity__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _skippedEntity = self->QXmlDefaultHandler::skippedEntity( name );
  DaoContext_PutInteger( _ctx, (int) _skippedEntity );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_skippedEntity( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_skippedEntity__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _skippedEntity = self->skippedEntity( name );
  DaoContext_PutInteger( _ctx, (int) _skippedEntity );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startCDATA__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  bool _startCDATA = self->QXmlDefaultHandler::startCDATA(  );
  DaoContext_PutInteger( _ctx, (int) _startCDATA );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startCDATA( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_startCDATA__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  bool _startCDATA = self->startCDATA(  );
  DaoContext_PutInteger( _ctx, (int) _startCDATA );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startDTD__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  bool _startDTD = self->QXmlDefaultHandler::startDTD( name, publicId, systemId );
  DaoContext_PutInteger( _ctx, (int) _startDTD );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startDTD( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_startDTD__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  bool _startDTD = self->startDTD( name, publicId, systemId );
  DaoContext_PutInteger( _ctx, (int) _startDTD );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startDocument__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  bool _startDocument = self->QXmlDefaultHandler::startDocument(  );
  DaoContext_PutInteger( _ctx, (int) _startDocument );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startDocument( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_startDocument__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  bool _startDocument = self->startDocument(  );
  DaoContext_PutInteger( _ctx, (int) _startDocument );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startElement__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString namespaceURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString qName( _mbs3 );
  QXmlAttributes* atts= (QXmlAttributes*) DValue_CastCData( _p[4], dao_QXmlAttributes_Typer );
  bool _startElement = self->QXmlDefaultHandler::startElement( namespaceURI, localName, qName, *atts );
  DaoContext_PutInteger( _ctx, (int) _startElement );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_startElement__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString namespaceURI( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString localName( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString qName( _mbs3 );
  QXmlAttributes* atts= (QXmlAttributes*) DValue_CastCData( _p[4], dao_QXmlAttributes_Typer );
  bool _startElement = self->startElement( namespaceURI, localName, qName, *atts );
  DaoContext_PutInteger( _ctx, (int) _startElement );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startEntity__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _startEntity = self->QXmlDefaultHandler::startEntity( name );
  DaoContext_PutInteger( _ctx, (int) _startEntity );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startEntity( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_startEntity__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _startEntity = self->startEntity( name );
  DaoContext_PutInteger( _ctx, (int) _startEntity );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startPrefixMapping__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString prefix( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString uri( _mbs2 );
  bool _startPrefixMapping = self->QXmlDefaultHandler::startPrefixMapping( prefix, uri );
  DaoContext_PutInteger( _ctx, (int) _startPrefixMapping );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_startPrefixMapping( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_startPrefixMapping__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString prefix( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString uri( _mbs2 );
  bool _startPrefixMapping = self->startPrefixMapping( prefix, uri );
  DaoContext_PutInteger( _ctx, (int) _startPrefixMapping );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_unparsedEntityDecl__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QString notationName( _mbs4 );
  bool _unparsedEntityDecl = self->QXmlDefaultHandler::unparsedEntityDecl( name, publicId, systemId, notationName );
  DaoContext_PutInteger( _ctx, (int) _unparsedEntityDecl );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_unparsedEntityDecl( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_unparsedEntityDecl__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString publicId( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString systemId( _mbs3 );
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QString notationName( _mbs4 );
  bool _unparsedEntityDecl = self->unparsedEntityDecl( name, publicId, systemId, notationName );
  DaoContext_PutInteger( _ctx, (int) _unparsedEntityDecl );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_warning__QXmlDefaultHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  QXmlParseException* exception= (QXmlParseException*) DValue_CastCData( _p[1], dao_QXmlParseException_Typer );
  bool _warning = self->QXmlDefaultHandler::warning( *exception );
  DaoContext_PutInteger( _ctx, (int) _warning );
}
/* qxml.h */
static void dao_QXmlDefaultHandler_warning( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlDefaultHandler_warning__QXmlDefaultHandler( _ctx, _p, _n );
    return;
  }
  QXmlDefaultHandler* self= (QXmlDefaultHandler*) DValue_CastCData( _p[0], dao_QXmlDefaultHandler_Typer );
  QXmlParseException* exception= (QXmlParseException*) DValue_CastCData( _p[1], dao_QXmlParseException_Typer );
  bool _warning = self->warning( *exception );
  DaoContext_PutInteger( _ctx, (int) _warning );
}

/*  qxml.h */


static void dao_QXmlInputSource_GETF_EndOfData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_GETF_EndOfDocument( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_QXmlInputSource_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlInputSource_QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_QXmlInputSource_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_data__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_fetchData__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_fetchData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_fromRawData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_next__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_next( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_reset__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_reset( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_setData_dao_2__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_setData_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_setData__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlInputSource_setData( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlInputSource_Meths[] = 
{
  { dao_QXmlInputSource_GETF_EndOfData, ".EndOfData( self : QXmlInputSource )=>int" },
  { dao_QXmlInputSource_GETF_EndOfDocument, ".EndOfDocument( self : QXmlInputSource )=>int" },
  { dao_QXmlInputSource_QXmlInputSource, "QXmlInputSource(  )=>QXmlInputSource" },
  { dao_QXmlInputSource_QXmlInputSource_dao_2, "QXmlInputSource( dev : QIODevice )=>QXmlInputSource" },
  { dao_QXmlInputSource_data, "data( self : QXmlInputSource )=>string" },
  { dao_QXmlInputSource_fetchData, "fetchData( self : QXmlInputSource )" },
  { dao_QXmlInputSource_fromRawData, "fromRawData( self : QXmlInputSource, data : string, beginning : int = false )=>string" },
  { dao_QXmlInputSource_next, "next( self : QXmlInputSource )=>int" },
  { dao_QXmlInputSource_reset, "reset( self : QXmlInputSource )" },
  { dao_QXmlInputSource_setData_dao_2, "setData( self : QXmlInputSource, dat : string )" },
  { dao_QXmlInputSource_setData, "setData( self : QXmlInputSource, dat : string )" },
  { NULL, NULL }
};
static void Dao_QXmlInputSource_Delete( void *self )
{
	delete (QXmlInputSource*) self;
}

static DaoTypeBase QXmlInputSource_Typer = 
{ "QXmlInputSource", NULL, 
  dao_QXmlInputSource_Nums,
  dao_QXmlInputSource_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlInputSource_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlInputSource_Typer = & QXmlInputSource_Typer;
static void dao_QXmlInputSource_GETF_EndOfData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlInputSource *self = (QXmlInputSource*)DValue_CastCData(_p[0],dao_QXmlInputSource_Typer);
  DaoContext_PutInteger( _ctx, (int) self->EndOfData );
}
static void dao_QXmlInputSource_GETF_EndOfDocument( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlInputSource *self = (QXmlInputSource*)DValue_CastCData(_p[0],dao_QXmlInputSource_Typer);
  DaoContext_PutInteger( _ctx, (int) self->EndOfDocument );
}
/* qxml.h */
static void dao_QXmlInputSource_QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QXmlInputSource *_self = DaoCxx_QXmlInputSource_New(  );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qxml.h */
static void dao_QXmlInputSource_QXmlInputSource_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QIODevice* dev= (QIODevice*) DValue_CastCData( _p[0], dao_QIODevice_Typer );
	DaoCxx_QXmlInputSource *_self = DaoCxx_QXmlInputSource_New( dev );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qxml.h */
static void dao_QXmlInputSource_data__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  QString _data = self->QXmlInputSource::data(  );
  DaoContext_PutMBString( _ctx, _data.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlInputSource_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlInputSource_data__QXmlInputSource( _ctx, _p, _n );
    return;
  }
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  QString _data = self->data(  );
  DaoContext_PutMBString( _ctx, _data.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlInputSource_fetchData__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  self->QXmlInputSource::fetchData(  );
}
/* qxml.h */
static void dao_QXmlInputSource_fetchData( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlInputSource_fetchData__QXmlInputSource( _ctx, _p, _n );
    return;
  }
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  self->fetchData(  );
}
/* qxml.h */
static void dao_QXmlInputSource_fromRawData( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QXmlInputSource *self = (DaoCxx_QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray data( _mbs1 );
  bool beginning= (bool) _p[2]->v.i;
  QString _fromRawData = self->DaoWrap_fromRawData( data, beginning );
  DaoContext_PutMBString( _ctx, _fromRawData.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlInputSource_next__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  QChar _next = self->QXmlInputSource::next(  );
  DaoContext_PutInteger( _ctx, _next.digitValue() );
}
/* qxml.h */
static void dao_QXmlInputSource_next( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlInputSource_next__QXmlInputSource( _ctx, _p, _n );
    return;
  }
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  QChar _next = self->next(  );
  DaoContext_PutInteger( _ctx, _next.digitValue() );
}
/* qxml.h */
static void dao_QXmlInputSource_reset__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  self->QXmlInputSource::reset(  );
}
/* qxml.h */
static void dao_QXmlInputSource_reset( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlInputSource_reset__QXmlInputSource( _ctx, _p, _n );
    return;
  }
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  self->reset(  );
}
/* qxml.h */
static void dao_QXmlInputSource_setData_dao_2__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray dat( _mbs1 );
  self->QXmlInputSource::setData( dat );
}
/* qxml.h */
static void dao_QXmlInputSource_setData_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlInputSource_setData_dao_2__QXmlInputSource( _ctx, _p, _n );
    return;
  }
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray dat( _mbs1 );
  self->setData( dat );
}
/* qxml.h */
static void dao_QXmlInputSource_setData__QXmlInputSource( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString dat( _mbs1 );
  self->QXmlInputSource::setData( dat );
}
/* qxml.h */
static void dao_QXmlInputSource_setData( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlInputSource_setData__QXmlInputSource( _ctx, _p, _n );
    return;
  }
  QXmlInputSource* self= (QXmlInputSource*) DValue_CastCData( _p[0], dao_QXmlInputSource_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString dat( _mbs1 );
  self->setData( dat );
}

/*  qxml.h */


static DaoNumItem dao_QXmlLocator_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlLocator_QXmlLocator( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlLocator_columnNumber( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlLocator_lineNumber( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlLocator_Meths[] = 
{
  { dao_QXmlLocator_QXmlLocator, "QXmlLocator(  )=>QXmlLocator" },
  { dao_QXmlLocator_columnNumber, "columnNumber( self : QXmlLocator )=>int" },
  { dao_QXmlLocator_lineNumber, "lineNumber( self : QXmlLocator )=>int" },
  { NULL, NULL }
};
static void Dao_QXmlLocator_Delete( void *self )
{
	delete (QXmlLocator*) self;
}

static DaoTypeBase QXmlLocator_Typer = 
{ "QXmlLocator", NULL, 
  dao_QXmlLocator_Nums,
  dao_QXmlLocator_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlLocator_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlLocator_Typer = & QXmlLocator_Typer;
/* qxml.h */
static void dao_QXmlLocator_QXmlLocator( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QXmlLocator *_self = DaoCxx_QXmlLocator_New(  );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qxml.h */
static void dao_QXmlLocator_columnNumber( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlLocator* self= (QXmlLocator*) DValue_CastCData( _p[0], dao_QXmlLocator_Typer );
  int _columnNumber = self->columnNumber(  );
  DaoContext_PutInteger( _ctx, (int) _columnNumber );
}
/* qxml.h */
static void dao_QXmlLocator_lineNumber( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlLocator* self= (QXmlLocator*) DValue_CastCData( _p[0], dao_QXmlLocator_Typer );
  int _lineNumber = self->lineNumber(  );
  DaoContext_PutInteger( _ctx, (int) _lineNumber );
}

/*  qxml.h */


static DaoNumItem dao_QXmlNamespaceSupport_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlNamespaceSupport_QXmlNamespaceSupport( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlNamespaceSupport_popContext( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlNamespaceSupport_prefix( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlNamespaceSupport_prefixes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlNamespaceSupport_prefixes_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlNamespaceSupport_processName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlNamespaceSupport_pushContext( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlNamespaceSupport_reset( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlNamespaceSupport_setPrefix( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlNamespaceSupport_splitName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlNamespaceSupport_uri( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlNamespaceSupport_Meths[] = 
{
  { dao_QXmlNamespaceSupport_QXmlNamespaceSupport, "QXmlNamespaceSupport(  )=>QXmlNamespaceSupport" },
  { dao_QXmlNamespaceSupport_popContext, "popContext( self : QXmlNamespaceSupport )" },
  { dao_QXmlNamespaceSupport_prefix, "prefix( self : QXmlNamespaceSupport, _cp0 : string )=>string" },
  { dao_QXmlNamespaceSupport_prefixes, "prefixes( self : QXmlNamespaceSupport )=>QStringList" },
  { dao_QXmlNamespaceSupport_prefixes_dao_2, "prefixes( self : QXmlNamespaceSupport, _cp0 : string )=>QStringList" },
  { dao_QXmlNamespaceSupport_processName, "processName( self : QXmlNamespaceSupport, _cp0 : string, _cp1 : int, _cp2 : string, _cp3 : string )" },
  { dao_QXmlNamespaceSupport_pushContext, "pushContext( self : QXmlNamespaceSupport )" },
  { dao_QXmlNamespaceSupport_reset, "reset( self : QXmlNamespaceSupport )" },
  { dao_QXmlNamespaceSupport_setPrefix, "setPrefix( self : QXmlNamespaceSupport, _cp0 : string, _cp1 : string )" },
  { dao_QXmlNamespaceSupport_splitName, "splitName( self : QXmlNamespaceSupport, _cp0 : string, _cp1 : string, _cp2 : string )" },
  { dao_QXmlNamespaceSupport_uri, "uri( self : QXmlNamespaceSupport, _cp0 : string )=>string" },
  { NULL, NULL }
};
static void Dao_QXmlNamespaceSupport_Delete( void *self )
{
	delete (QXmlNamespaceSupport*) self;
}

static DaoTypeBase QXmlNamespaceSupport_Typer = 
{ "QXmlNamespaceSupport", NULL, 
  dao_QXmlNamespaceSupport_Nums,
  dao_QXmlNamespaceSupport_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlNamespaceSupport_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlNamespaceSupport_Typer = & QXmlNamespaceSupport_Typer;
/* qxml.h */
static void dao_QXmlNamespaceSupport_QXmlNamespaceSupport( DaoContext *_ctx, DValue *_p[], int _n )
{
	QXmlNamespaceSupport *_self = Dao_QXmlNamespaceSupport_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QXmlNamespaceSupport_Typer );
}
/* qxml.h */
static void dao_QXmlNamespaceSupport_popContext( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlNamespaceSupport* self= (QXmlNamespaceSupport*) DValue_CastCData( _p[0], dao_QXmlNamespaceSupport_Typer );
  self->QXmlNamespaceSupport::popContext(  );
}
/* qxml.h */
static void dao_QXmlNamespaceSupport_prefix( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlNamespaceSupport* self= (QXmlNamespaceSupport*) DValue_CastCData( _p[0], dao_QXmlNamespaceSupport_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString _cp0( _mbs1 );
  QString _prefix = self->QXmlNamespaceSupport::prefix( _cp0 );
  DaoContext_PutMBString( _ctx, _prefix.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlNamespaceSupport_prefixes( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlNamespaceSupport* self= (QXmlNamespaceSupport*) DValue_CastCData( _p[0], dao_QXmlNamespaceSupport_Typer );
  QStringList _prefixes = self->QXmlNamespaceSupport::prefixes(  );
  DaoContext_PutCData( _ctx, (void*)new QStringList( _prefixes ), dao_QStringList_Typer );
}
/* qxml.h */
static void dao_QXmlNamespaceSupport_prefixes_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlNamespaceSupport* self= (QXmlNamespaceSupport*) DValue_CastCData( _p[0], dao_QXmlNamespaceSupport_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString _cp0( _mbs1 );
  QStringList _prefixes = self->QXmlNamespaceSupport::prefixes( _cp0 );
  DaoContext_PutCData( _ctx, (void*)new QStringList( _prefixes ), dao_QStringList_Typer );
}
/* qxml.h */
static void dao_QXmlNamespaceSupport_processName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlNamespaceSupport* self= (QXmlNamespaceSupport*) DValue_CastCData( _p[0], dao_QXmlNamespaceSupport_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString _cp0( _mbs1 );
  bool _cp1= (bool) _p[2]->v.i;
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString _cp2( _mbs3 );
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QString _cp3( _mbs4 );
  self->QXmlNamespaceSupport::processName( _cp0, _cp1, _cp2, _cp3 );
  DString_SetMBS( _p[3]->v.s, (char*) _cp2.toLocal8Bit().data() );
  DString_SetMBS( _p[4]->v.s, (char*) _cp3.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlNamespaceSupport_pushContext( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlNamespaceSupport* self= (QXmlNamespaceSupport*) DValue_CastCData( _p[0], dao_QXmlNamespaceSupport_Typer );
  self->QXmlNamespaceSupport::pushContext(  );
}
/* qxml.h */
static void dao_QXmlNamespaceSupport_reset( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlNamespaceSupport* self= (QXmlNamespaceSupport*) DValue_CastCData( _p[0], dao_QXmlNamespaceSupport_Typer );
  self->QXmlNamespaceSupport::reset(  );
}
/* qxml.h */
static void dao_QXmlNamespaceSupport_setPrefix( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlNamespaceSupport* self= (QXmlNamespaceSupport*) DValue_CastCData( _p[0], dao_QXmlNamespaceSupport_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString _cp0( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString _cp1( _mbs2 );
  self->QXmlNamespaceSupport::setPrefix( _cp0, _cp1 );
}
/* qxml.h */
static void dao_QXmlNamespaceSupport_splitName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlNamespaceSupport* self= (QXmlNamespaceSupport*) DValue_CastCData( _p[0], dao_QXmlNamespaceSupport_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString _cp0( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString _cp1( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString _cp2( _mbs3 );
  self->QXmlNamespaceSupport::splitName( _cp0, _cp1, _cp2 );
  DString_SetMBS( _p[2]->v.s, (char*) _cp1.toLocal8Bit().data() );
  DString_SetMBS( _p[3]->v.s, (char*) _cp2.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlNamespaceSupport_uri( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlNamespaceSupport* self= (QXmlNamespaceSupport*) DValue_CastCData( _p[0], dao_QXmlNamespaceSupport_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString _cp0( _mbs1 );
  QString _uri = self->QXmlNamespaceSupport::uri( _cp0 );
  DaoContext_PutMBString( _ctx, _uri.toLocal8Bit().data() );
}

/*  qxml.h */


static DaoNumItem dao_QXmlParseException_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlParseException_QXmlParseException( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlParseException_QXmlParseException_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlParseException_columnNumber( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlParseException_lineNumber( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlParseException_message( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlParseException_publicId( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlParseException_systemId( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlParseException_Meths[] = 
{
  { dao_QXmlParseException_QXmlParseException, "QXmlParseException( name : string|null=null, c : int = -1, l : int = -1, p : string|null=null, s : string|null=null )=>QXmlParseException" },
  { dao_QXmlParseException_QXmlParseException_dao_2, "QXmlParseException( other : QXmlParseException )=>QXmlParseException" },
  { dao_QXmlParseException_columnNumber, "columnNumber( self : QXmlParseException )=>int" },
  { dao_QXmlParseException_lineNumber, "lineNumber( self : QXmlParseException )=>int" },
  { dao_QXmlParseException_message, "message( self : QXmlParseException )=>string" },
  { dao_QXmlParseException_publicId, "publicId( self : QXmlParseException )=>string" },
  { dao_QXmlParseException_systemId, "systemId( self : QXmlParseException )=>string" },
  { NULL, NULL }
};
static void Dao_QXmlParseException_Delete( void *self )
{
	delete (QXmlParseException*) self;
}

static DaoTypeBase QXmlParseException_Typer = 
{ "QXmlParseException", NULL, 
  dao_QXmlParseException_Nums,
  dao_QXmlParseException_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlParseException_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlParseException_Typer = & QXmlParseException_Typer;
/* qxml.h */
static void dao_QXmlParseException_QXmlParseException( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString name( _mbs0 );
  int c= (int) _p[1]->v.i;
  int l= (int) _p[2]->v.i;
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString p( _mbs3 );
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QString s( _mbs4 );
	QXmlParseException *_self = Dao_QXmlParseException_New( name, c, l, p, s );
	DaoContext_PutCData( _ctx, _self, dao_QXmlParseException_Typer );
}
/* qxml.h */
static void dao_QXmlParseException_QXmlParseException_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlParseException* other= (QXmlParseException*) DValue_CastCData( _p[0], dao_QXmlParseException_Typer );
	QXmlParseException *_self = Dao_QXmlParseException_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QXmlParseException_Typer );
}
/* qxml.h */
static void dao_QXmlParseException_columnNumber( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlParseException* self= (QXmlParseException*) DValue_CastCData( _p[0], dao_QXmlParseException_Typer );
  int _columnNumber = self->QXmlParseException::columnNumber(  );
  DaoContext_PutInteger( _ctx, (int) _columnNumber );
}
/* qxml.h */
static void dao_QXmlParseException_lineNumber( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlParseException* self= (QXmlParseException*) DValue_CastCData( _p[0], dao_QXmlParseException_Typer );
  int _lineNumber = self->QXmlParseException::lineNumber(  );
  DaoContext_PutInteger( _ctx, (int) _lineNumber );
}
/* qxml.h */
static void dao_QXmlParseException_message( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlParseException* self= (QXmlParseException*) DValue_CastCData( _p[0], dao_QXmlParseException_Typer );
  QString _message = self->QXmlParseException::message(  );
  DaoContext_PutMBString( _ctx, _message.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlParseException_publicId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlParseException* self= (QXmlParseException*) DValue_CastCData( _p[0], dao_QXmlParseException_Typer );
  QString _publicId = self->QXmlParseException::publicId(  );
  DaoContext_PutMBString( _ctx, _publicId.toLocal8Bit().data() );
}
/* qxml.h */
static void dao_QXmlParseException_systemId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlParseException* self= (QXmlParseException*) DValue_CastCData( _p[0], dao_QXmlParseException_Typer );
  QString _systemId = self->QXmlParseException::systemId(  );
  DaoContext_PutMBString( _ctx, _systemId.toLocal8Bit().data() );
}

/*  qxml.h */


static DaoNumItem dao_QXmlReader_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlReader_QXmlReader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_DTDHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_contentHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_declHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_entityResolver( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_errorHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_feature( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_hasFeature( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_hasProperty( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_lexicalHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_parse( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_parse_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_property( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_setContentHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_setDTDHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_setDeclHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_setEntityResolver( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_setErrorHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_setFeature( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_setLexicalHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlReader_setProperty( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlReader_Meths[] = 
{
  { dao_QXmlReader_QXmlReader, "QXmlReader(  )=>QXmlReader" },
  { dao_QXmlReader_DTDHandler, "DTDHandler( self : QXmlReader )=>QXmlDTDHandler" },
  { dao_QXmlReader_contentHandler, "contentHandler( self : QXmlReader )=>QXmlContentHandler" },
  { dao_QXmlReader_declHandler, "declHandler( self : QXmlReader )=>QXmlDeclHandler" },
  { dao_QXmlReader_entityResolver, "entityResolver( self : QXmlReader )=>QXmlEntityResolver" },
  { dao_QXmlReader_errorHandler, "errorHandler( self : QXmlReader )=>QXmlErrorHandler" },
  { dao_QXmlReader_feature, "feature( self : QXmlReader, name : string, ok : int|null=null )=>int" },
  { dao_QXmlReader_hasFeature, "hasFeature( self : QXmlReader, name : string )=>int" },
  { dao_QXmlReader_hasProperty, "hasProperty( self : QXmlReader, name : string )=>int" },
  { dao_QXmlReader_lexicalHandler, "lexicalHandler( self : QXmlReader )=>QXmlLexicalHandler" },
  { dao_QXmlReader_parse, "parse( self : QXmlReader, input : QXmlInputSource )=>int" },
  { dao_QXmlReader_parse_dao_2, "parse( self : QXmlReader, input : QXmlInputSource )=>int" },
  { dao_QXmlReader_property, "property( self : QXmlReader, name : string, ok : int|null=null )=>cdata" },
  { dao_QXmlReader_setContentHandler, "setContentHandler( self : QXmlReader, handler : QXmlContentHandler )" },
  { dao_QXmlReader_setDTDHandler, "setDTDHandler( self : QXmlReader, handler : QXmlDTDHandler )" },
  { dao_QXmlReader_setDeclHandler, "setDeclHandler( self : QXmlReader, handler : QXmlDeclHandler )" },
  { dao_QXmlReader_setEntityResolver, "setEntityResolver( self : QXmlReader, handler : QXmlEntityResolver )" },
  { dao_QXmlReader_setErrorHandler, "setErrorHandler( self : QXmlReader, handler : QXmlErrorHandler )" },
  { dao_QXmlReader_setFeature, "setFeature( self : QXmlReader, name : string, value : int )" },
  { dao_QXmlReader_setLexicalHandler, "setLexicalHandler( self : QXmlReader, handler : QXmlLexicalHandler )" },
  { dao_QXmlReader_setProperty, "setProperty( self : QXmlReader, name : string, value : cdata )" },
  { NULL, NULL }
};
static void Dao_QXmlReader_Delete( void *self )
{
	delete (QXmlReader*) self;
}

static DaoTypeBase QXmlReader_Typer = 
{ "QXmlReader", NULL, 
  dao_QXmlReader_Nums,
  dao_QXmlReader_Meths, 
  { 0 },
  { 0 },
  Dao_QXmlReader_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlReader_Typer = & QXmlReader_Typer;
static void dao_QXmlReader_QXmlReader( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QXmlReader *self = DaoCxx_QXmlReader_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}
/* qxml.h */
static void dao_QXmlReader_DTDHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlDTDHandler* _DTDHandler = self->DTDHandler(  );
  DaoContext_WrapCData( _ctx, (void*) _DTDHandler, dao_QXmlDTDHandler_Typer );
}
/* qxml.h */
static void dao_QXmlReader_contentHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlContentHandler* _contentHandler = self->contentHandler(  );
  DaoContext_WrapCData( _ctx, (void*) _contentHandler, dao_QXmlContentHandler_Typer );
}
/* qxml.h */
static void dao_QXmlReader_declHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlDeclHandler* _declHandler = self->declHandler(  );
  DaoContext_WrapCData( _ctx, (void*) _declHandler, dao_QXmlDeclHandler_Typer );
}
/* qxml.h */
static void dao_QXmlReader_entityResolver( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlEntityResolver* _entityResolver = self->entityResolver(  );
  DaoContext_WrapCData( _ctx, (void*) _entityResolver, dao_QXmlEntityResolver_Typer );
}
/* qxml.h */
static void dao_QXmlReader_errorHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlErrorHandler* _errorHandler = self->errorHandler(  );
  DaoContext_WrapCData( _ctx, (void*) _errorHandler, dao_QXmlErrorHandler_Typer );
}
/* qxml.h */
static void dao_QXmlReader_feature( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool ok= (bool) _p[2]->v.i;
  bool _feature = self->feature( name, & ok );
  _p[2]->v.i = (int) ok;
  DaoContext_PutInteger( _ctx, (int) _feature );
}
/* qxml.h */
static void dao_QXmlReader_hasFeature( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _hasFeature = self->hasFeature( name );
  DaoContext_PutInteger( _ctx, (int) _hasFeature );
}
/* qxml.h */
static void dao_QXmlReader_hasProperty( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _hasProperty = self->hasProperty( name );
  DaoContext_PutInteger( _ctx, (int) _hasProperty );
}
/* qxml.h */
static void dao_QXmlReader_lexicalHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlLexicalHandler* _lexicalHandler = self->lexicalHandler(  );
  DaoContext_WrapCData( _ctx, (void*) _lexicalHandler, dao_QXmlLexicalHandler_Typer );
}
/* qxml.h */
static void dao_QXmlReader_parse( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlInputSource* input= (QXmlInputSource*) DValue_CastCData( _p[1], dao_QXmlInputSource_Typer );
  bool _parse = self->parse( *input );
  DaoContext_PutInteger( _ctx, (int) _parse );
}
/* qxml.h */
static void dao_QXmlReader_parse_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlInputSource* input= (QXmlInputSource*) DValue_CastCData( _p[1], dao_QXmlInputSource_Typer );
  bool _parse = self->parse( input );
  DaoContext_PutInteger( _ctx, (int) _parse );
}
/* qxml.h */
static void dao_QXmlReader_property( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool ok= (bool) _p[2]->v.i;
  void* _property = self->property( name, & ok );
  _p[2]->v.i = (int) ok;
  DaoContext_PutCPointer( _ctx, (void*) _property, 0 );
}
/* qxml.h */
static void dao_QXmlReader_setContentHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlContentHandler* handler= (QXmlContentHandler*) DValue_CastCData( _p[1], dao_QXmlContentHandler_Typer );
  self->setContentHandler( handler );
}
/* qxml.h */
static void dao_QXmlReader_setDTDHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlDTDHandler* handler= (QXmlDTDHandler*) DValue_CastCData( _p[1], dao_QXmlDTDHandler_Typer );
  self->setDTDHandler( handler );
}
/* qxml.h */
static void dao_QXmlReader_setDeclHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlDeclHandler* handler= (QXmlDeclHandler*) DValue_CastCData( _p[1], dao_QXmlDeclHandler_Typer );
  self->setDeclHandler( handler );
}
/* qxml.h */
static void dao_QXmlReader_setEntityResolver( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlEntityResolver* handler= (QXmlEntityResolver*) DValue_CastCData( _p[1], dao_QXmlEntityResolver_Typer );
  self->setEntityResolver( handler );
}
/* qxml.h */
static void dao_QXmlReader_setErrorHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlErrorHandler* handler= (QXmlErrorHandler*) DValue_CastCData( _p[1], dao_QXmlErrorHandler_Typer );
  self->setErrorHandler( handler );
}
/* qxml.h */
static void dao_QXmlReader_setFeature( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool value= (bool) _p[2]->v.i;
  self->setFeature( name, value );
}
/* qxml.h */
static void dao_QXmlReader_setLexicalHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  QXmlLexicalHandler* handler= (QXmlLexicalHandler*) DValue_CastCData( _p[1], dao_QXmlLexicalHandler_Typer );
  self->setLexicalHandler( handler );
}
/* qxml.h */
static void dao_QXmlReader_setProperty( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlReader* self= (QXmlReader*) DValue_CastCData( _p[0], dao_QXmlReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  void* value= (void*) DValue_GetCData( _p[2] );
  self->setProperty( name, value );
}

/*  qxml.h */


static DaoNumItem dao_QXmlSimpleReader_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QXmlSimpleReader_QXmlSimpleReader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_DTDHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_contentHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_declHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_entityResolver( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_errorHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_feature( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_hasFeature( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_hasProperty( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_lexicalHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_parse( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_parse_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_parse_dao_3__QXmlSimpleReader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_parse_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_parseContinue__QXmlSimpleReader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_parseContinue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_property( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_setContentHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_setDTDHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_setDeclHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_setEntityResolver( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_setErrorHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_setFeature( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_setLexicalHandler( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QXmlSimpleReader_setProperty( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QXmlSimpleReader_Meths[] = 
{
  { dao_QXmlSimpleReader_QXmlSimpleReader, "QXmlSimpleReader(  )=>QXmlSimpleReader" },
  { dao_QXmlSimpleReader_DTDHandler, "DTDHandler( self : QXmlSimpleReader )=>QXmlDTDHandler" },
  { dao_QXmlSimpleReader_contentHandler, "contentHandler( self : QXmlSimpleReader )=>QXmlContentHandler" },
  { dao_QXmlSimpleReader_declHandler, "declHandler( self : QXmlSimpleReader )=>QXmlDeclHandler" },
  { dao_QXmlSimpleReader_entityResolver, "entityResolver( self : QXmlSimpleReader )=>QXmlEntityResolver" },
  { dao_QXmlSimpleReader_errorHandler, "errorHandler( self : QXmlSimpleReader )=>QXmlErrorHandler" },
  { dao_QXmlSimpleReader_feature, "feature( self : QXmlSimpleReader, name : string, ok : int|null=null )=>int" },
  { dao_QXmlSimpleReader_hasFeature, "hasFeature( self : QXmlSimpleReader, name : string )=>int" },
  { dao_QXmlSimpleReader_hasProperty, "hasProperty( self : QXmlSimpleReader, name : string )=>int" },
  { dao_QXmlSimpleReader_lexicalHandler, "lexicalHandler( self : QXmlSimpleReader )=>QXmlLexicalHandler" },
  { dao_QXmlSimpleReader_parse, "parse( self : QXmlSimpleReader, input : QXmlInputSource )=>int" },
  { dao_QXmlSimpleReader_parse_dao_2, "parse( self : QXmlSimpleReader, input : QXmlInputSource )=>int" },
  { dao_QXmlSimpleReader_parse_dao_3, "parse( self : QXmlSimpleReader, input : QXmlInputSource, incremental : int )=>int" },
  { dao_QXmlSimpleReader_parseContinue, "parseContinue( self : QXmlSimpleReader )=>int" },
  { dao_QXmlSimpleReader_property, "property( self : QXmlSimpleReader, name : string, ok : int|null=null )=>cdata" },
  { dao_QXmlSimpleReader_setContentHandler, "setContentHandler( self : QXmlSimpleReader, handler : QXmlContentHandler )" },
  { dao_QXmlSimpleReader_setDTDHandler, "setDTDHandler( self : QXmlSimpleReader, handler : QXmlDTDHandler )" },
  { dao_QXmlSimpleReader_setDeclHandler, "setDeclHandler( self : QXmlSimpleReader, handler : QXmlDeclHandler )" },
  { dao_QXmlSimpleReader_setEntityResolver, "setEntityResolver( self : QXmlSimpleReader, handler : QXmlEntityResolver )" },
  { dao_QXmlSimpleReader_setErrorHandler, "setErrorHandler( self : QXmlSimpleReader, handler : QXmlErrorHandler )" },
  { dao_QXmlSimpleReader_setFeature, "setFeature( self : QXmlSimpleReader, name : string, value : int )" },
  { dao_QXmlSimpleReader_setLexicalHandler, "setLexicalHandler( self : QXmlSimpleReader, handler : QXmlLexicalHandler )" },
  { dao_QXmlSimpleReader_setProperty, "setProperty( self : QXmlSimpleReader, name : string, value : cdata )" },
  { NULL, NULL }
};
static void Dao_QXmlSimpleReader_Delete( void *self )
{
	delete (QXmlSimpleReader*) self;
}
void* dao_cast_QXmlSimpleReader_to_QXmlReader( void *data )
{
	return (QXmlReader*)(QXmlSimpleReader*)data;
}

static DaoTypeBase QXmlSimpleReader_Typer = 
{ "QXmlSimpleReader", NULL, 
  dao_QXmlSimpleReader_Nums,
  dao_QXmlSimpleReader_Meths, 
  { dao_QXmlReader_Typer, 0 },
  { dao_cast_QXmlSimpleReader_to_QXmlReader,0 },
  Dao_QXmlSimpleReader_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTXML *dao_QXmlSimpleReader_Typer = & QXmlSimpleReader_Typer;
/* qxml.h */
static void dao_QXmlSimpleReader_QXmlSimpleReader( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QXmlSimpleReader *_self = DaoCxx_QXmlSimpleReader_New(  );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qxml.h */
static void dao_QXmlSimpleReader_DTDHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlDTDHandler* _DTDHandler = self->QXmlSimpleReader::DTDHandler(  );
  DaoContext_WrapCData( _ctx, (void*) _DTDHandler, dao_QXmlDTDHandler_Typer );
}
/* qxml.h */
static void dao_QXmlSimpleReader_contentHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlContentHandler* _contentHandler = self->QXmlSimpleReader::contentHandler(  );
  DaoContext_WrapCData( _ctx, (void*) _contentHandler, dao_QXmlContentHandler_Typer );
}
/* qxml.h */
static void dao_QXmlSimpleReader_declHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlDeclHandler* _declHandler = self->QXmlSimpleReader::declHandler(  );
  DaoContext_WrapCData( _ctx, (void*) _declHandler, dao_QXmlDeclHandler_Typer );
}
/* qxml.h */
static void dao_QXmlSimpleReader_entityResolver( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlEntityResolver* _entityResolver = self->QXmlSimpleReader::entityResolver(  );
  DaoContext_WrapCData( _ctx, (void*) _entityResolver, dao_QXmlEntityResolver_Typer );
}
/* qxml.h */
static void dao_QXmlSimpleReader_errorHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlErrorHandler* _errorHandler = self->QXmlSimpleReader::errorHandler(  );
  DaoContext_WrapCData( _ctx, (void*) _errorHandler, dao_QXmlErrorHandler_Typer );
}
/* qxml.h */
static void dao_QXmlSimpleReader_feature( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool ok= (bool) _p[2]->v.i;
  bool _feature = self->QXmlSimpleReader::feature( name, & ok );
  _p[2]->v.i = (int) ok;
  DaoContext_PutInteger( _ctx, (int) _feature );
}
/* qxml.h */
static void dao_QXmlSimpleReader_hasFeature( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _hasFeature = self->QXmlSimpleReader::hasFeature( name );
  DaoContext_PutInteger( _ctx, (int) _hasFeature );
}
/* qxml.h */
static void dao_QXmlSimpleReader_hasProperty( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _hasProperty = self->QXmlSimpleReader::hasProperty( name );
  DaoContext_PutInteger( _ctx, (int) _hasProperty );
}
/* qxml.h */
static void dao_QXmlSimpleReader_lexicalHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlLexicalHandler* _lexicalHandler = self->QXmlSimpleReader::lexicalHandler(  );
  DaoContext_WrapCData( _ctx, (void*) _lexicalHandler, dao_QXmlLexicalHandler_Typer );
}
/* qxml.h */
static void dao_QXmlSimpleReader_parse( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlInputSource* input= (QXmlInputSource*) DValue_CastCData( _p[1], dao_QXmlInputSource_Typer );
  bool _parse = self->QXmlSimpleReader::parse( *input );
  DaoContext_PutInteger( _ctx, (int) _parse );
}
/* qxml.h */
static void dao_QXmlSimpleReader_parse_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlInputSource* input= (QXmlInputSource*) DValue_CastCData( _p[1], dao_QXmlInputSource_Typer );
  bool _parse = self->QXmlSimpleReader::parse( input );
  DaoContext_PutInteger( _ctx, (int) _parse );
}
/* qxml.h */
static void dao_QXmlSimpleReader_parse_dao_3__QXmlSimpleReader( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlInputSource* input= (QXmlInputSource*) DValue_CastCData( _p[1], dao_QXmlInputSource_Typer );
  bool incremental= (bool) _p[2]->v.i;
  bool _parse = self->QXmlSimpleReader::parse( input, incremental );
  DaoContext_PutInteger( _ctx, (int) _parse );
}
/* qxml.h */
static void dao_QXmlSimpleReader_parse_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlSimpleReader_parse_dao_3__QXmlSimpleReader( _ctx, _p, _n );
    return;
  }
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlInputSource* input= (QXmlInputSource*) DValue_CastCData( _p[1], dao_QXmlInputSource_Typer );
  bool incremental= (bool) _p[2]->v.i;
  bool _parse = self->parse( input, incremental );
  DaoContext_PutInteger( _ctx, (int) _parse );
}
/* qxml.h */
static void dao_QXmlSimpleReader_parseContinue__QXmlSimpleReader( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  bool _parseContinue = self->QXmlSimpleReader::parseContinue(  );
  DaoContext_PutInteger( _ctx, (int) _parseContinue );
}
/* qxml.h */
static void dao_QXmlSimpleReader_parseContinue( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QXmlSimpleReader_parseContinue__QXmlSimpleReader( _ctx, _p, _n );
    return;
  }
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  bool _parseContinue = self->parseContinue(  );
  DaoContext_PutInteger( _ctx, (int) _parseContinue );
}
/* qxml.h */
static void dao_QXmlSimpleReader_property( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool ok= (bool) _p[2]->v.i;
  void* _property = self->QXmlSimpleReader::property( name, & ok );
  _p[2]->v.i = (int) ok;
  DaoContext_PutCPointer( _ctx, (void*) _property, 0 );
}
/* qxml.h */
static void dao_QXmlSimpleReader_setContentHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlContentHandler* handler= (QXmlContentHandler*) DValue_CastCData( _p[1], dao_QXmlContentHandler_Typer );
  self->QXmlSimpleReader::setContentHandler( handler );
}
/* qxml.h */
static void dao_QXmlSimpleReader_setDTDHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlDTDHandler* handler= (QXmlDTDHandler*) DValue_CastCData( _p[1], dao_QXmlDTDHandler_Typer );
  self->QXmlSimpleReader::setDTDHandler( handler );
}
/* qxml.h */
static void dao_QXmlSimpleReader_setDeclHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlDeclHandler* handler= (QXmlDeclHandler*) DValue_CastCData( _p[1], dao_QXmlDeclHandler_Typer );
  self->QXmlSimpleReader::setDeclHandler( handler );
}
/* qxml.h */
static void dao_QXmlSimpleReader_setEntityResolver( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlEntityResolver* handler= (QXmlEntityResolver*) DValue_CastCData( _p[1], dao_QXmlEntityResolver_Typer );
  self->QXmlSimpleReader::setEntityResolver( handler );
}
/* qxml.h */
static void dao_QXmlSimpleReader_setErrorHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlErrorHandler* handler= (QXmlErrorHandler*) DValue_CastCData( _p[1], dao_QXmlErrorHandler_Typer );
  self->QXmlSimpleReader::setErrorHandler( handler );
}
/* qxml.h */
static void dao_QXmlSimpleReader_setFeature( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool value= (bool) _p[2]->v.i;
  self->QXmlSimpleReader::setFeature( name, value );
}
/* qxml.h */
static void dao_QXmlSimpleReader_setLexicalHandler( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  QXmlLexicalHandler* handler= (QXmlLexicalHandler*) DValue_CastCData( _p[1], dao_QXmlLexicalHandler_Typer );
  self->QXmlSimpleReader::setLexicalHandler( handler );
}
/* qxml.h */
static void dao_QXmlSimpleReader_setProperty( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlSimpleReader* self= (QXmlSimpleReader*) DValue_CastCData( _p[0], dao_QXmlSimpleReader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  void* value= (void*) DValue_GetCData( _p[2] );
  self->QXmlSimpleReader::setProperty( name, value );
}

#ifdef __cplusplus
}
#endif

